cvs commit: src/sys/kern kern_thr.c syscalls.master src/sys/sys
rwatson at FreeBSD.org
Sun Aug 19 01:31:40 PDT 2007
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
University of Cambridge
More information about the cvs-src