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] |
#define pthread_cleanup_push(a,b) and no #define pthread_cleanup_pop(a)
Is that an omission?
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.
Regards, Bastian Voigt
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |