Subject: Re: pthread_t first/initial/primary test
To: Tyler Retzlaff <rtr@NetBSD.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: netbsd-users
Date: 08/11/2003 12:31:45
Tyler Retzlaff <rtr@NetBSD.org> writes:
> Is there a way to test whether or not the currently executing thread is the
> initial/primary thread? (That being the thread `first' internally in our
> pthread_init()).
Currently, no. Why do you need to know this? The initial thread is not
special, except for the implicit exit() if main() returns.
- Nathan