Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 19e284f6516fc91d27b804bf63aee9d9b19cf6b9 1 parent 04fdff3
tijl authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  include/pthread.h
1  include/pthread.h
@@ -175,6 +175,7 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
175 175 {
176 176
177 177 #define pthread_cleanup_pop(execute) \
  178 + (void)0; \
178 179 } \
179 180 __pthread_cleanup_pop_imp(execute); \
180 181 }

0 comments on commit 19e284f

Please sign in to comment.
Something went wrong with that request. Please try again.