Re: How to detect NPTL at compile time
[email protected] (Wan-Teh Chang)
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
Dan Kegel wrote: > For some reason I thought the > preferred strategy was to build a single app that > can run well under either LinuxThreads or NPTL, > and Jakub's code fragment was meant to let you > enable LinuxThreads workarounds at runtime. > > What are the technical pros and cons of this approach > vs. the one Wan-Teh is considering (namely, building > separate apps for LinuxThreads and NPTL)? The cost of QA testing. If an app needs to support both LinuxThreads and NPTL, all the testing needs to be repeated. Wan-Teh