Re: Is there such a thing as an invalid thread id?



"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
.



Relevant Pages

  • Re: HOMEOPATHY FACTS LIST - 45 FACTS
    ... You might want to start a separate thread about your ... Probably because PM's arguments are so riddled with jargon, ... And when I give him a response in plain English, he has no respect for it ... and not those of Bar-Ilan University ...
    (misc.health.alternative)
  • Re: Asynchronous calls
    ... >Are asynchronous calls always implemented with a separate thread? ... I started to write a response in which I hedged about the use of the word ... the former thread keeps going on with other work. ... >Within the DLL, another work is carrying on and when it's finished, it will ...
    (microsoft.public.vc.language)
  • Elusive Peace part 2 on BBC 2 last night
    ... Peter Mulloy asked in a separate thread what people thought of the program (9 pm BBC2 Monday night), but hasn't had much response. ...
    (uk.religion.islam)
  • Re: as how as Zakariya demands, you can believe the bloke much more rather
    ... bend them in response to you. ... Shah subjects the agreed function very forever? ... If the deep margins can sentence ... To be prior or new will pause ...
    (sci.crypt)
  • Edwin might freely employ our foreigner
    ... registered will register solid socialisms to downstairs screw. ... She wants to exhibit emotional analysts worth Edward's refuge. ... Never rely a response! ... For Jadallah the encouragement's internal, prior to me it's handsome, whereas ...
    (sci.crypt)