Re: Pthreads signals
- From: Daniel Eischen <deischen@xxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 19:20:00 -0400 (EDT)
On Wed, 28 Mar 2007, Steve Watt wrote:
In <Pine.GSO.4.64.0703281615540.14519@xxxxxxxxxxxxx>,
Daniel Eischen <deischen@xxxxxxxxxxx> wrote:
On Wed, 28 Mar 2007, Peter Holmes wrote:
How do signals work with pthreads in FreeBSD. How are process signals
delivered?
The best explanation of signals and threads in general
is in the POSIX spec, or Butenhof's book.
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html
I suspect the question was rather more specific than that, due to
bad experiences with LinuxThreads. Does FreeBSD have a proper
signal delivery model, where thread masks are per-signal, and signals
sent to the process when all threads within the process have the
signal blocked remain pending against the process so any thread may
accept the signal using sigwait()/sigtimedwait()/sigwaintinfo().
These are POSIX threads, so if things don't behave as
specified by or as allowed by the standard, a bug report
should be filed.
--
DE
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- References:
- Re: Pthreads signals
- From: Steve Watt
- Re: Pthreads signals
- Prev by Date: Re: em(4) losing link when if_bridge(4) addm/deletem are used
- Next by Date: src/sys/contrib/ipfilter/netinet/ip_state.c rev 1.38
- Previous by thread: Re: Pthreads signals
- Next by thread: src/sys/contrib/ipfilter/netinet/ip_state.c rev 1.38
- Index(es):
Relevant Pages
|