My company takes on to porting a very sensitive library to Linux (RedHat
7.0, glibc 2.2.9). The library uses POSIX threads heavily.
On Linux, at this time, LinuxThreads seems to be a very mature package
and looks like being the right choice (and the only good one). However,
we have come upon some documentation (not very up-to-date but
anyways...) on the net saying that glibc is not fully thread-safe
(LinuxThreads package README says that too). Also, the documentation
warns about the non re-entrancy of other libraries in the system and
about possible problems when mixing with libraries like svgalib that
uses SIGUSR signals that LinuxThreads use too.
So: what is your opinion? Stick with LinuxThreads or look after a
user-level threads package? We were thinking that a user-level thread
package would alleviate some of the problems.
What is the latest news in kernel re-entrancy (2.2.x kernels)? Any
links, points, etc.?