New threaded application: develop against NPTL?

Kevin P. Fleming kpfleming@cox.net
Thu Sep 11 19:15:00 GMT 2003


Dan Kegel wrote:

> It depends.   It could be that LinuxThreads will work just fine
> for you.  I never had to work around any bugs in it when I was using it.

I failed to mention that the app will also be having to deal with 
signals, which seems to be a source of inconsistencies, if not 
outright bugs, in LinuxThreads. Certainly the signal handling model in 
the NPTL whitepaper makes more sense to me, anyway.

> 
> That said, NPTL is good stuff.  If you do end up requiring NTPL,
> you might want to make sure your
> app works both with your modern kernel and glibc, and also with
> Red Hat 9, which uses an older NPTL.  That ought to keep enough
> users happy.

Well, the application is a fancy init/service-manager/etc. type of 
thing, that if it works is going to replace SysVinit and/or simpleinit 
on my systems. As such, I doubt if many RH9 users are going to be 
interested in it :-)

Thanks for the information, though.



More information about the Libc-alpha mailing list