mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
* 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.
This commit is contained in:
parent
2a544d82ce
commit
3de7c2a965
@ -1,5 +1,11 @@
|
|||||||
2003-03-10 Ulrich Drepper <drepper@redhat.com>
|
2003-03-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
|
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
|
||||||
(__lll_mutex_lock_wait): Reverse order of first two parameters.
|
(__lll_mutex_lock_wait): Reverse order of first two parameters.
|
||||||
(__lll_mutex_timedlock_wait): Likewise.
|
(__lll_mutex_timedlock_wait): Likewise.
|
||||||
|
@ -22,7 +22,7 @@ sysdep_routines += register-atfork unregister-atfork libc_pthread_init
|
|||||||
|
|
||||||
libpthread-sysdep_routines += pt-fork
|
libpthread-sysdep_routines += pt-fork
|
||||||
|
|
||||||
gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym
|
gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym lowlevelbarrier.sym
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),posix)
|
ifeq ($(subdir),posix)
|
||||||
|
11
nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
Normal file
11
nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#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)
|
Loading…
Reference in New Issue
Block a user