This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 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: pthread_exit() does not call the cleanups


Sorry.. here it is.
Thanks

> Well, but the attachment is missing...
> 
> Regards
> Peter Slacik
> 
> Kereszt@crossys.com wrote:
> 
> >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
> > 
> >

-- 

Attachment: test.cpp
Description: Text document


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