LibC: Fix shared pthread_barrier init
Initialize internal lock and cond as shared when the barrier is shared
This commit is contained in:
@@ -54,7 +54,6 @@ typedef struct
|
||||
} pthread_barrierattr_t;
|
||||
typedef struct
|
||||
{
|
||||
pthread_barrierattr_t attr;
|
||||
pthread_mutex_t lock;
|
||||
pthread_cond_t cond;
|
||||
unsigned target;
|
||||
|
||||
Reference in New Issue
Block a user