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: unexpected end of file :-(


Ross Johnson wrote:

#define pthread_cleanup_push(a,b)
and no
#define pthread_cleanup_pop(a)

Is that an omission?

No, it's not :-)


The way these are defined is as a pair that forms the start and end of a block. That is, push with no pop will create an unbalanced { ... }, and that could be the problem.

Yes, that was the problem. I must admit Iam a pthreads n00b ..Thanks for your help!


Regards,
Bastian Voigt


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