mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21:06 +00:00
d8ff3792a8
Add private field. * sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Add PRIVATE definition. * pthread_barrier_init.c: Set private flag if pshared and private futexes are supported. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Use private field in futex command setup. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Likewise.
13 lines
366 B
Plaintext
13 lines
366 B
Plaintext
#include <stddef.h>
|
|
#include <sched.h>
|
|
#include <bits/pthreadtypes.h>
|
|
#include "internaltypes.h"
|
|
|
|
--
|
|
|
|
CURR_EVENT offsetof (struct pthread_barrier, curr_event)
|
|
MUTEX offsetof (struct pthread_barrier, lock)
|
|
LEFT offsetof (struct pthread_barrier, left)
|
|
INIT_COUNT offsetof (struct pthread_barrier, init_count)
|
|
PRIVATE offsetof (struct pthread_barrier, private)
|