aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-01 20:22:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-01 20:22:23 +0000
commit22c9b5efb9049eb0c9121e285e287df89206ffbb (patch)
treee0c7cdb37251e1730787783150545c3fb5db0301
parent3b47913dc896067c471819aee46f90a45cc8c346 (diff)
downloadglibc-22c9b5efb9049eb0c9121e285e287df89206ffbb.tar.xz
glibc-22c9b5efb9049eb0c9121e285e287df89206ffbb.zip
sem_post implementation for nptl on Alpha.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c5
1 files changed, 5 insertions, 0 deletions
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
index 0000000000..27fd817e65
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/alpha/nptl/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"