Skip to content

Commit

Permalink
Update libusb/hidapi_thread_pthread.h
Browse files Browse the repository at this point in the history
Co-authored-by: Ihor Dutchak <ihor.youw@gmail.com>
  • Loading branch information
slouken and Youw authored Jun 1, 2023
1 parent 553a482 commit 5e5c7bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libusb/hidapi_thread_pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ static int pthread_barrier_wait(pthread_barrier_t *barrier)
pthread_mutex_unlock(&barrier->mutex);
return 1;
}
else
{
else {
pthread_cond_wait(&barrier->cond, &(barrier->mutex));
pthread_mutex_unlock(&barrier->mutex);
return 0;
Expand Down

0 comments on commit 5e5c7bd

Please sign in to comment.