mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Update.
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add lowlevelrwlock.sym. * sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file. * sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
This commit is contained in:
parent
4c3c2e8a6e
commit
c915e5ad56
@ -1,5 +1,10 @@
|
|||||||
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
|
||||||
|
lowlevelrwlock.sym.
|
||||||
|
* sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
|
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
|
||||||
register loading.
|
register loading.
|
||||||
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
|
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
|
||||||
|
@ -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
|
gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),posix)
|
ifeq ($(subdir),posix)
|
||||||
|
14
nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym
Normal file
14
nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include <stddef.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <bits/pthreadtypes.h>
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
MUTEX offsetof (pthread_rwlock_t, __data.__lock)
|
||||||
|
NR_READERS offsetof (pthread_rwlock_t, __data.__nr_readers)
|
||||||
|
READERS_WAKEUP offsetof (pthread_rwlock_t, __data.__readers_wakeup)
|
||||||
|
WRITERS_WAKEUP offsetof (pthread_rwlock_t, __data.__writer_wakeup)
|
||||||
|
READERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_readers_queued)
|
||||||
|
WRITERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_writers_queued)
|
||||||
|
FLAGS offsetof (pthread_rwlock_t, __data.__flags)
|
||||||
|
WRITER offsetof (pthread_rwlock_t, __data.__writer)
|
Loading…
Reference in New Issue
Block a user