On Wed, 9 Feb 2005 10:51:36 -0500 Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote:
BFF> The LinuxThreads library seems to be the best-supported way. I don't think BFF> that there should be legal/licensing issues using it. Unfortunatelly, I can't use the LinuxThreads library, it simply does not compile on FreeBSD 4.10 (and I assume that on latest 4.x too) with gcc-3.4.4. Errors appear when it's building code from /usr/src tree with the newer compiler. FreeBSD 4.x is a mandatory target platform and using gcc-3.4 is a strong wish. So, I'm going to have kernel threads via rfork_thread(3) and the main question I stuck on is which libc functions I need to wrap to make them thread-safe and reentrant on multiprocessor systems, since rfork_thread(3)s are created with RFMEM flag and libc_r is not used. Could one give ideas or point where to read? Thanks! _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"