summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-12 08:51:04 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-12 08:51:04 -0500
commitd73df24536b0b64ba5d67d65713dd3f3d3639d50 (patch)
tree51e9357decf16e377d0cf691847998b4a472f972
parentnameser/ns_samedomain.c: New file (diff)
downloadrtems-libbsd-d73df24536b0b64ba5d67d65713dd3f3d3639d50.tar.bz2
namespace.h: Add some pthread rwlock and mutex methods
-rw-r--r--freebsd-userspace/rtems/include/namespace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd-userspace/rtems/include/namespace.h b/freebsd-userspace/rtems/include/namespace.h
index 0f294864..2de5088d 100644
--- a/freebsd-userspace/rtems/include/namespace.h
+++ b/freebsd-userspace/rtems/include/namespace.h
@@ -40,6 +40,13 @@
#define _pthread_main_np pthread_main_np
#define _pthread_once pthread_once
#define _pthread_setspecific pthread_setspecific
+#define _pthread_mutex_trylock pthread_mutex_trylock
+#define _pthread_mutex_unlock pthread_mutex_unlock
+#define _pthread_rwlock_rdlock pthread_rwlock_rdlock
+#define _pthread_rwlock_unlock pthread_rwlock_unlock
+#define _pthread_rwlock_wrlock pthread_rwlock_wrlock
+
+
#define _read read
#define _recvfrom recvfrom
#define _sendto sendto