Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 1997 16:49:41 +0500
From:      A JOSEPH KOSHY <koshy@india.hp.com>
To:        rminnich@sarnoff.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Using rfork() / threads
Message-ID:  <199701301149.AA268284982@fakir.india.hp.com>

next in thread | raw e-mail | index | archive | help

I'm looking at porting a linux program that uses `clone()' and was
considering the BSD `rfork()' as an equivalent.  My questions are:

	Do we have an equivalent for Linux `sched_yield()'?

	How light weight is the process created by `rfork()' (assuming 
	that we share everything possible to be shared)?

I'm not really looking at a complete emulation of `clone()'; just enough
to get equivalent functionality.

The other approach I am looking at is to use a user space threads library
to get the required multi-threading.  Which brings me to my next question:

	Whats the current state of the Posix threads library on FreeBSD?

Thanks,
Koshy
<koshy@india.hp.com>		My Personal Opinions Only.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701301149.AA268284982>