Re: Is there such a thing as an invalid thread id?
- From: Nathanael Hoyle <nhoyle@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 21 Jan 2006 19:16:24 GMT
"Buckaroo_Banzi" <NUKTNEIDMUFK@xxxxxxxxxxxxx> wrote in
news:1137709461.806656.189540@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
> The first reply solved my real problem (thank you again). But I am
> wondering what in this response, or in the manual (which I did read
> before posting), tells me whether or not there is a specific value
> returned in "thread" that indicates an invalid thread?
>
My apologies, Buckaroo, I misunderstood the context of your original
question (perhaps because I read it too quickly), and thought that you
were confused as to the return value(s) from pthread_create. Not sure
why my initial response took so long to show through (as I attempted to
post it prior to the 'first' response, which would have made me realize
what you meant). The part I was aiming at with my reply, was to
illustrate that it was not the filled in thread-id per se, but the return
value itself (which is a separate value), which indicates the error
condition, or lack thereof. Since I somewhat misinterpreted your
question, I thought that that by itself was the answer. However, in
light of your actual question, as noted by the other poster, the same
sort of return value with a separate thread id mechanism should work for
your purposes.
Best of luck,
Nathanael Hoyle
.
- References:
- Is there such a thing as an invalid thread id?
- From: Buckaroo_Banzi
- Re: Is there such a thing as an invalid thread id?
- From: Nathanael Hoyle
- Re: Is there such a thing as an invalid thread id?
- From: Buckaroo_Banzi
- Is there such a thing as an invalid thread id?
- Prev by Date: Re: Odd error with g++
- Next by Date: Re: Odd error with g++
- Previous by thread: Re: Is there such a thing as an invalid thread id?
- Next by thread: write a network bridge
- Index(es):
Relevant Pages
|