sem_post implementation for nptl on Alpha.
authorUlrich Drepper <drepper@redhat.com>
Tue, 1 Jul 2003 20:22:23 +0000 (20:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 1 Jul 2003 20:22:23 +0000 (20:22 +0000)
sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c b/sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c
new file mode 100644 (file)
index 0000000..27fd817
--- /dev/null
@@ -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"