Date: Mon, 20 Aug 2007 11:47:37 -0700 From: Alfred Perlstein <alfred@freebsd.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: wine-freebsd@hub.org, Kris Moore <krismoore@comcast.net>, Scott Long <scottl@samsco.org>, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Daniel Eischen <deischen@freebsd.org>, Robert Watson <rwatson@freebsd.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: <20070820184737.GJ87451@elvis.mu.org> In-Reply-To: <200708201842.l7KIgAbd040030@apollo.backplane.com> References: <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> <46C7A9A4.5090404@samsco.org> <20070819095302.D66918@fledge.watson.org> <222044094-1187603330-cardhu_decombobulator_blackberry.rim.net-1638751523-@bxe027.bisx.prod.on.blackberry> <46C9AE64.50705@samsco.org> <20070820182905.GH87451@elvis.mu.org> <200708201842.l7KIgAbd040030@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Matthew Dillon <dillon@apollo.backplane.com> [070820 11:43] wrote: > We have a lwp_kill() system call that sends a signal to a thread within > a process. It turns out to be fairly necessary for any sort of heavily > integrated multi-threaded work. In our case we need it to be able to > issue IPIs (aka SIGUSR1) to cpus within a SMP virtual kernel. > > int lwp_kill(pid_t pid, lwpid_t tid, int sig); > > -Matt It's always bothered me that there wasn't a generation count included in the kill(2) interface. What do you think about that? It would be useful for pidfiles to ensure that a recycled pid doesn't get a program SIGwhatever'd. -- - Alfred Perlstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070820184737.GJ87451>