This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
pthread_exit() does not call the cleanups
- From: Kereszt at crossys dot com
- To: pthreads-win32 at sources dot redhat dot com
- Date: Fri, 12 Nov 2004 17:50:53 +0100
- Subject: pthread_exit() does not call the cleanups
Hello,
I've found that with pthread-win32 the pthread_exit() does not call the
previously pushed (pthread_cleanup_push()) cleanup routines. I've just tried
it on a linux box and it works as documented (does the call).
I'm a bit newbie to pthread so it might be my fault. I've attached a little
sample code which reproduces the problem.
Please, tell me what's the deal!
Thanks,
Laszlo