From owner-freebsd-hackers Thu Jan 30 03:19:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA05490 for hackers-outgoing; Thu, 30 Jan 1997 03:19:44 -0800 (PST) Received: from palrel1.hp.com (palrel1.hp.com [15.253.72.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA05483 for ; Thu, 30 Jan 1997 03:19:42 -0800 (PST) Received: from fakir.india.hp.com (fakir.india.hp.com [15.10.40.3]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id DAA02756; Thu, 30 Jan 1997 03:19:33 -0800 (PST) Received: from localhost by fakir.india.hp.com with SMTP (1.37.109.20/15.5+ECS 3.3) id AA268284982; Thu, 30 Jan 1997 16:49:42 +0500 Message-Id: <199701301149.AA268284982@fakir.india.hp.com> To: rminnich@sarnoff.com Cc: freebsd-hackers@freebsd.org Subject: Using rfork() / threads Date: Thu, 30 Jan 1997 16:49:41 +0500 From: A JOSEPH KOSHY Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 My Personal Opinions Only.