> Date: Tue, 27 Feb 2001 15:15:33 +0000 (GMT)
> From: E.B. Dreger <[EMAIL PROTECTED]>
>
> Is this a library issue in libc_r?
>
> I just wrote a quick test program using rfork(RFMEM|RFPROC) to
> create a child thread.
Correction:
RFTHREAD|RFPROC
Sorry... I have RFMEM on the brain. The pseudocode gave the correct RFXXX
flags. (I also typed "#if" instead of "#ifdef". FreeBSD multitasks
better than I do this morning.)
FWIW, does anyone know what Linuxthread's blocking behavior is? The
original poster mentioned that Linux gave the desired behavior... what
about the Linuxthreads library?
Although I have written pthread applications, I prefer to do my thread
programming at a lower level; hence my use of rfork(). Hopefully the info
will be useful, though.
Eddy
---------------------------------------------------------------------------
Brotsman & Dreger, Inc.
EverQuick Internet / EternalCommerce Division
E-Mail: [EMAIL PROTECTED]
Phone: (316) 794-8922
---------------------------------------------------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message