Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2007 09:31:39 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        wine-freebsd@hub.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, "Marc G. Fournier" <scrappy@hub.org>, David Xu <davidxu@freebsd.org>, Tijl Coosemans <tijl@ulyssis.org>, Xin LI <delphij@delphij.net>
Subject:   Re: cvs commit: src/sys/kern kern_thr.c syscalls.master src/sys/sys
Message-ID:  <20070819092923.X65240@fledge.watson.org>
In-Reply-To: <Pine.GSO.4.64.0708182250550.13824@sea.ntplx.net>
References:  <200708160526.l7G5Qg0b008022@repoman.freebsd.org> <46C4FD02.3090708@freebsd.org> <Pine.GSO.4.64.0708162216530.1396@sea.ntplx.net> <200708182118.37998.tijl@ulyssis.org> <20070818204223.D1234@fledge.watson.org> <Pine.GSO.4.64.0708182050070.13363@sea.ntplx.net> <250D8A54B98F12158C71D8FE@ganymede.hub.org> <Pine.GSO.4.64.0708182250550.13824@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Aug 2007, Daniel Eischen wrote:

>> Stupid question, but ... why not?
>> 
>> First off, do you know for a fact that Wine is the only app out there that 
>> needs the ability to kill off a thread in a seperate process, or has nobody 
>> in the past cared enough to see other apps ported from Linux -> FreeBSD to 
>> push for this sort of thing?
>
> FreeBSD as well as Solaris and Linux (it looks like Linux only allows a 
> thread group to be signaled) have gotten along without this API, and Wine 
> seems to be the only target for this syscall.

While I'm not familiar with the newer pthread code on Linux, I can say with 
reasonable authority that the older implementation used the same ID space for 
pids and thread IDs, since threads were tasks, and therefore Linux has always 
supported directly signalling threads in other processes.

Robert N M Watson
Computer Laboratory
University of Cambridge



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