Source-Changes archive

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

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



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