Is there such a thing as an invalid thread id?
- From: "Buckaroo_Banzi" <NUKTNEIDMUFK@xxxxxxxxxxxxx>
- Date: 19 Jan 2006 11:36:32 -0800
I am creating a threaded application and just wish to return the thread
id to the calling function. I am looking to let the calling function
determine if pthread_create worked by the thread id.
I have a feeling that there is a thread id value that indicates an
invalid thread, such as 0 or -1. Could someone let me know if this is
true and if so what value indicates an invalid thread?
.
- Follow-Ups:
- 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: "Nils O. Selåsdal"
- Re: Is there such a thing as an invalid thread id?
- Prev by Date: Re: working with files the linux way...
- Next by Date: Re: Is there such a thing as an invalid thread id?
- Previous by thread: SMP and Multithreaded Applications under linux
- Next by thread: Re: Is there such a thing as an invalid thread id?
- Index(es):
Relevant Pages
|