Permalink
Browse files

MFC r256925:

Add a dummy statement to the beginning of the pthread_cleanup_pop() macro
to allow a call of the macro to be labelled as in:

label:
  pthread_cleanup_pop();

Reviewed by:	imp
Approved by:	re (glebius)
  • Loading branch information...
1 parent 04fdff3 commit 19e284f6516fc91d27b804bf63aee9d9b19cf6b9 tijl committed Oct 25, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/pthread.h
View
@@ -175,6 +175,7 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
{
#define pthread_cleanup_pop(execute) \
+ (void)0; \
} \
__pthread_cleanup_pop_imp(execute); \
}

0 comments on commit 19e284f

Please sign in to comment.