LibC: Fix shared pthread_barrier init

Initialize internal lock and cond as shared when the barrier is shared
This commit is contained in:
2026-04-05 12:03:29 +03:00
parent 1eebe85071
commit ec4aa8d0b6
2 changed files with 10 additions and 2 deletions

View File

@@ -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;