Skip to content

Commit

Permalink
remove inline from barrier_wait
Browse files Browse the repository at this point in the history
  • Loading branch information
lwimmer committed Jun 1, 2017
1 parent 2131861 commit eb3d4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rmbt_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static void print_errors(State *s, FILE *stream, bool clear) {
* We don't use pthread_barrier, as it is not available on Android.
* Also this way we can abort all threads more easily if one fails.
*/
static inline bool barrier_wait(State *s) {
static bool barrier_wait(State *s) {
RmbtBarrier *b = s->targ->barrier;
pthread_mutex_lock(&b->mutex);
if (b->global_abort) {
Expand Down

0 comments on commit eb3d4ea

Please sign in to comment.