[Patches] signal module patch for GNU pth support

Greg Stein gstein@lyra.org
Thu, 11 May 2000 15:02:39 -0700 (PDT)


Need the patch disclaimer...

On Thu, 11 May 2000, Andy Dustman wrote:
> Since GNU pth runs in user-space in a single process, (getpid() ==
> main_pid) is always true, and so signal_handler check the thread id and
> use pth_raise() to send the signal to the main thread if another thread
> was running when the signal arrived.
> 
> NOTE: pth-1.3.5 currently has a bug (IMHO) in that pth_sleep()
> (replacement for POSIX sleep()) is not awakened by signals. The severity
> of the bug depends on how long you were sleeping... This has been
> reported.

-- 
Greg Stein, http://www.lyra.org/