mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21:06 +00:00
3de7c2a965
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add lowlevelbarrier.sym. * sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Include lowlevelbarrier.h and don't define offsets locally.
12 lines
313 B
Plaintext
12 lines
313 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)
|