Runtime detection of old Linux threads vs NPTL

"Robin Ehrlich" <[email protected]> Thu, 4 Dec 2003 13:17:54 -0600
Newsgroups gmane.comp.lib.phil
Message-ID <00c401c3ba9b$51b24280$6b646494@ubiqrobin2001>
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.

How can I do this?

Thank you,
Robin Ehrlich