standards/66608: sigprocmask() does not work with pthread

David Schultz das at FreeBSD.org
Sun Jun 13 21:15:31 GMT 2004


Synopsis: sigprocmask() does not work with pthread

State-Changed-From-To: open->closed
State-Changed-By: das
State-Changed-When: Sun Jun 13 21:14:29 GMT 2004
State-Changed-Why: 
The problem appears to have been fixed in KSE in -CURRENT.
If you notice any further problems with threads, please
report them.  (Patches are even better!)  Use PR category 'threads'.

das at VARK:~/t4> ls
Makefile        segfault.c      signal.c        signal_t.c
das at VARK:~/t4> make signal signal_t
gcc -g -Wall signal.c -o signal
gcc -g -Wall -pthread  signal_t.c -o signal_t
das at VARK:~/t4> ./signal&
[1] 34421
Starting Nap (600s)
das at VARK:~/t4> kill -SEGV 34421
das at VARK:~/t4> kill -KILL 34421
[1]    Killed                        ./signal
das at VARK:~/t4> ./signal_t &
[1] 36074
Starting Nap (600s)
das at VARK:~/t4> kill -SEGV 36074
das at VARK:~/t4> kill -KILL 36074
[1]    Killed                        ./signal_t
das at VARK:~/t4> ldd signal_t
signal_t:
        libpthread.so.1 => /usr/lib/libpthread.so.1 (0x1807d000)
        libc.so.5 => /lib/libc.so.5 (0x180a1000)


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


More information about the freebsd-standards mailing list