Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 17:24:09 +0000 (GMT)
From:      "E.B. Dreger" <eddy+public+spam@noc.everquick.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Where can I find out rules on blocking in threads?
Message-ID:  <Pine.LNX.4.20.0102271722390.19258-100000@www.everquick.net>

next in thread | raw e-mail | index | archive | help
> Date: Tue, 27 Feb 2001 15:15:33 +0000 (GMT)
> From: E.B. Dreger <eddy+public+spam@noc.everquick.net>
> 
> 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: eddy@everquick.net
Phone: (316) 794-8922

---------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.20.0102271722390.19258-100000>