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




"Buckaroo_Banzi" <NUKTNEIDMUFK@xxxxxxxxxxxxx> wrote in message
news:1137709461.806656.189540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> 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?

The only value you can use is the ID of a thread that is known by both
parties not to be the newly-created thread. For example, you could return
the thread ID of the calling thread to indicate failure. However, remember
that you can't compare thread IDs directly (that's what 'pthread_equal' is
for.)

DS


.



Relevant Pages

  • Re: Is there such a thing as an invalid thread id?
    ... The first reply solved my real problem. ... wondering what in this response, or in the manual (which I did read ... returned in "thread" that indicates an invalid thread? ... Prev by Date: ...
    (comp.os.linux.development.apps)
  • Re: ACBL Conventions Question
    ... The concept of the enabling of a quasi-psychic is a real problem. ... Anticipatory of a possible fit ... Bridge as an example where a three-card heart suit might be bid (trash ... the 3-card response. ...
    (rec.games.bridge)
  • Re: HMTL Message/*.dat file as attachment, cant be opened...how?
    ... 'attachment' that shows a name/number with ".dat" at the end. ... but apparently any 'response' with that info 'isn't getting ... use THEIR 'servers' protection rather than 'expect' mine to 'cover all ... No real problem, only time ...
    (microsoft.public.windows.vista.mail)
  • Re: Help with this?
    ... that isn't the real problem. ... I need it to start in the cell where it's ... loop go from 1 to response rather than 0 to response? ... SendKeys "" ...
    (microsoft.public.excel.programming)
  • Re: How do I disable shell access but allow FTP and E-mail?
    ... i've got a response along a different line. ... than a quick check meant you were beginning to waste your time, ... asking in a newsgroup would provide an answer in short order. ... *you* aren't going to be ready for a real problem when one comes along, ...
    (comp.os.linux.security)