pthread_exit() does not call the cleanups

Kereszt@crossys.com Kereszt@crossys.com
Fri Nov 12 16:51:00 GMT 2004


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



More information about the Pthreads-win32 mailing list