Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Any Pthreads for Linux?

linux pthreads
0
Posted

Any Pthreads for Linux?

0

See: http://pauillac.inria.fr/~xleroy/linuxthreads/ http://sunsite.unc.edu/pub/Linux/docs/faqs/Threads-FAQ/html Linux has kernel-level threads now and has had a thread-safe libc for a while. With LinuxThreads, you don’t have to worry about things like your errno, or blocking system calls. The few standard libc functions that are inherently not thread safe (due to using static data areas) have been augmented with thread-safe alternatives. LinuxThreads are not (fully) POSIX, however. —————– I’m quite familiar with Xavier’s package. He’s done an awesome job given what he had to work with. Unfortunately, the holes are large, and his valiant attempts to plug them result in a larger and more complicated user-mode library than should be necessary, without being able to completely resolve the problems. Linux uses clone() which is not “kernel-level threads”, though, with some proposed (and possibly pending) extensions in a future version of the kernel, it could become that. Right now

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.