From owner-freebsd-hackers Sun Mar 4 9:58:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp3.port.ru (mx3.port.ru [194.67.23.37]) by hub.freebsd.org (Postfix) with ESMTP id ACCEB37B719 for ; Sun, 4 Mar 2001 09:58:24 -0800 (PST) (envelope-from kabaev@mail.ru) Received: from adsl-141-154-120-128.bostma.adsl.bellatlantic.net ([141.154.120.128] helo=kan.dnsalias.net) by smtp3.port.ru with esmtp (Exim 3.14 #24) id 14Zck5-000ETS-00; Sun, 04 Mar 2001 20:56:26 +0300 Received: (from kan@localhost) by kan.dnsalias.net (8.11.2/8.11.2) id f24HuvA01576; Sun, 4 Mar 2001 12:56:57 -0500 (EST) (envelope-from kan) Message-ID: X-Mailer: XFMail 1.4.7p2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010304101847.A8709@cx420564-b.tucson1.az.home.com> Date: Sun, 04 Mar 2001 12:56:51 -0500 (EST) From: "Alexander N. Kabaev" To: Jordan DeLong Subject: RE: FreeBSD pthreads Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Mar-2001 Jordan DeLong wrote: > Hey; I've got a question about the pthread implementation on freebsd. I was > looking it over and noticed that the pthread library is green; which is > disadvantagous on SMP machines. I found a port of the linux pthreads, but it > uses rfork() to create the new threads... Why do you think that clone syscall on Linux is any different than rfork with appropriate parameters on FreeBSD? > Anyway; I was curious if a clone() call is in the works for freebsd 5.0? And > if not, is there much interest in getting one at some point, or are there > other > factors that'd make implemention of one right now more difficult than it > would > seem? > > -Jordan There is nothing clone syscall can offer which cannot be done with rfork, so implementing it would be a waste of time, IMHO. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message