NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/30348 CVS commit: [wrstuden-fixsa] src/lib/libpthread



The following reply was made to PR kern/30348; it has been noted by GNATS.

From: Bill Stouder-Studenmund <wrstuden%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/30348 CVS commit: [wrstuden-fixsa] src/lib/libpthread
Date: Sat,  3 May 2008 23:56:54 +0000 (UTC)

 Module Name:   src
 Committed By:  wrstuden
 Date:          Sat May  3 23:56:54 UTC 2008
 
 Modified Files:
        src/lib/libpthread [wrstuden-fixsa]: pthread_sig.c
 
 Log Message:
 pthread_kill() won't correctly deliver signals to a thread that is
 in sigwait() waiting for them. Problem is we need to kick
 the "master" waiter out of the kernel, and it has to correctly
 handle this. It either has to realize we now have a signal we were
 waiting for, or we have to ignore it (and keep waiting for other
 signals).
 
 Do it.
 
 Fixes PR kern/30348 even though it's totally a library bug.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.47.4.7 -r1.47.4.8 src/lib/libpthread/pthread_sig.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index