Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Mar 2001 12:56:51 -0500 (EST)
From:      "Alexander N. Kabaev" <kabaev@mail.ru>
To:        Jordan DeLong <fracture@allusion.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: FreeBSD pthreads
Message-ID:  <XFMail.20010304125651.kabaev@mail.ru>
In-Reply-To: <20010304101847.A8709@cx420564-b.tucson1.az.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 
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




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