Re: Runtime detection of old Linux threads vs NPTL
Roland McGrath <[email protected]> Thu, 4 Dec 2003 13:50:29 -0800
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
> I would like to detect at runtime if I am using the old Linux threads or > the new POSIX threads. My application needs to run in both worlds and > since signal handling has changed we need to configure the application > correctly. You can use confstr (_CS_GNU_LIBPTHREAD_VERSION).