This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
Re: cleanup handlers and sem_wait ....
- From: Jakub Jelinek <jakub at redhat dot com>
- To: webmyster at laposte dot net
- Cc: glibc-bugs at sources dot redhat dot com
- Date: Tue, 22 Mar 2005 09:31:12 -0500
- Subject: Re: cleanup handlers and sem_wait ....
- References: <424025A2.5090705@laposte.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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.
> On a second computer (redhat 9.0 : glibc 2.3.2, gcc 3.2.2, kernel
> 2.4.20), whatever compiler I use (gcc and g++), when I run this program,
RHL 9 is too old, NPTL was really too young at that point and there were
many bugs fixed in it since then.
Jakub