This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cleanup handlers and sem_wait ....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]