Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2004 21:15:30 GMT
From:      David Schultz <das@FreeBSD.org>
To:        georg@graf.priv.at, das@FreeBSD.org, freebsd-standards@FreeBSD.org
Subject:   Re: standards/66608: sigprocmask() does not work with pthread
Message-ID:  <200406132115.i5DLFUQN075396@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@VARK:~/t4> ls
Makefile        segfault.c      signal.c        signal_t.c
das@VARK:~/t4> make signal signal_t
gcc -g -Wall signal.c -o signal
gcc -g -Wall -pthread  signal_t.c -o signal_t
das@VARK:~/t4> ./signal&
[1] 34421
Starting Nap (600s)
das@VARK:~/t4> kill -SEGV 34421
das@VARK:~/t4> kill -KILL 34421
[1]    Killed                        ./signal
das@VARK:~/t4> ./signal_t &
[1] 36074
Starting Nap (600s)
das@VARK:~/t4> kill -SEGV 36074
das@VARK:~/t4> kill -KILL 36074
[1]    Killed                        ./signal_t
das@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



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