On Tue, Mar 22, 2005 at 03:03:14PM +0100, webmyster@laposte.net wrote:
I have a problem with cleanup handlers and sem_wait with the small
program attached under linux.
On a first computer (glibc 2.3.4, gcc 3.3.3, kernel 2.6.8.1), when I
compile it with g++, although the thread seems to close, the cleanup
handler is not call. When I compile the programm with gcc, no problem
occurs : the cleanup handler is call and the thread stop.
Works just fine here, glibc 2.3.4, gcc 3.4.3, kernel 2.6.10,
with all of
gcc
g++
gcc -I/usr/include/nptl -L/usr/lib64/nptl
g++ -I/usr/include/nptl -L/usr/lib64/nptl
testCancel is called in all cases.