From f036e569acd64504c92403e961b93b488a1c175a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Jul 2003 20:23:15 +0000 Subject: Update. 2003-07-01 Richard Henderson * sysdeps/alpha/elf/pt-initfini.c: New file. * sysdeps/alpha/pthread_spin_lock.S: New file. * sysdeps/alpha/pthread_spin_trylock.S: New file. * sysdeps/alpha/pthreaddef.h: New file. * sysdeps/alpha/td_ta_map_lwp2thr.c: New file. * sysdeps/alpha/tls.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile: New file. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: New file. * sysdeps/unix/sysv/linux/alpha/createthread.c: New file. * sysdeps/unix/sysv/linux/alpha/fork.c: New file. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file. * sysdeps/unix/sysv/linux/alpha/pthread_once.c: New file. * sysdeps/unix/sysv/linux/alpha/sem_post.c: New file. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: New file. --- nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c (limited to 'nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c') diff --git a/nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c b/nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c new file mode 100644 index 0000000000..27fd817e65 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/alpha/sem_post.c @@ -0,0 +1,5 @@ +/* ??? This is an ass-backwards way to do this. We should simply define + the acquire/release semantics of atomic_exchange_and_add. And even if + we don't do this, we should be using atomic_full_barrier or otherwise. */ +#define __lll_rel_instr "mb" +#include "../sem_post.c" -- cgit 1.4.1