From owner-cvs-all@FreeBSD.ORG Sun Aug 19 08:31:40 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D4AB16A421; Sun, 19 Aug 2007 08:31:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 23AFC13C474; Sun, 19 Aug 2007 08:31:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 7FCEA49201; Sun, 19 Aug 2007 04:31:39 -0400 (EDT) Date: Sun, 19 Aug 2007 09:31:39 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Daniel Eischen In-Reply-To: Message-ID: <20070819092923.X65240@fledge.watson.org> References: <200708160526.l7G5Qg0b008022@repoman.freebsd.org> <46C4FD02.3090708@freebsd.org> <200708182118.37998.tijl@ulyssis.org> <20070818204223.D1234@fledge.watson.org> <250D8A54B98F12158C71D8FE@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: wine-freebsd@hub.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, "Marc G. Fournier" , David Xu , Tijl Coosemans , Xin LI Subject: Re: cvs commit: src/sys/kern kern_thr.c syscalls.master src/sys/sys X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2007 08:31:40 -0000 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