svn commit: r209595 - head/sys/kern
Matthew Jacob
mj at feral.com
Wed Jun 30 13:59:53 UTC 2010
Excuse my ignorance, but aren't signals supposed to be to processes, not
specific threads?
My memory/knowledge of Posix in this area is very rusty.
> On Tuesday 29 June 2010 5:05:22 pm Ed Schouten wrote:
>
>> * John Baldwin<jhb at FreeBSD.org> wrote:
>>
>>> Log:
>>> Send SIGPIPE to the thread that issued the offending system call
>>> rather than to the entire process.
>>>
>> Should something similar be used inside the TTY layer, where
>> reads/writes may cause signals to be generated?
>>
> Hmm, I'm not sure. I do think you want to stop the entire process for SIGTTOU
> or SIGTTIN (often the entire process group it seems), so I'm not sure if it
> matters if the signal is sent to only the current thread versus sending it to
> any thread in the process.
>
>
More information about the svn-src-head
mailing list