Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2007 12:18:21 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Tijl Coosemans <tijl@ulyssis.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: signalling remote threads
Message-ID:  <Pine.GSO.4.64.0703091215070.21532@sea.ntplx.net>
In-Reply-To: <200703091515.27133.tijl@ulyssis.org>
References:  <200703091515.27133.tijl@ulyssis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Mar 2007, Tijl Coosemans wrote:

> Is it somehow possible to send a signal to a specific thread in
> another process similar to the linux tkill and tgkill syscalls?
>
> I've seen the thr_kill call that takes an lwpid as argument, but it
> can't send a signal to another process can it?

No, it is not possible and it shouldn't be possible
as it's not portable.  From outside the process, you
can send a signal to another _process_ (which will
be delivered to one of its threads depending on
their signal masks), but not to a specific thread
in another process.

-- 
DE



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