Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 07:51:53 -0800 (PST)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        nb@ravenbrook.com, deischen@FreeBSD.org, freebsd-threads@FreeBSD.org
Subject:   Re: bin/31661: pthread_kill signal handler doesn't get sigcontext or ucontext
Message-ID:  <200402041551.i14Fpr2m013525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: pthread_kill signal handler doesn't get sigcontext or ucontext

State-Changed-From-To: open->closed
State-Changed-By: deischen
State-Changed-When: Wed Feb 4 07:47:36 PST 2004
State-Changed-Why: 
This is written against libc_r's implementation of pthread_kill;
libpthread does provide full signal handler arguments to pthread_kill.
Still it iw worth noting that trying to do anything sane with
a context from a pthread_kill() is probably not what you want
especially for scope process threads.  pthread_kill() is a
simulated interrupt and the threads interrupted context is generated
by the threads library -- it is not like a real signal interrupted
the thread while it was running.

http://www.freebsd.org/cgi/query-pr.cgi?pr=31661



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