[rtems-libbsd commit] namespace.h: Add some pthread rwlock and mutex methods
Joel Sherrill
joel at rtems.org
Wed Sep 12 13:47:03 UTC 2012
Module: rtems-libbsd
Branch: master
Commit: d73df24536b0b64ba5d67d65713dd3f3d3639d50
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=d73df24536b0b64ba5d67d65713dd3f3d3639d50
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed Sep 12 08:51:04 2012 -0500
namespace.h: Add some pthread rwlock and mutex methods
---
freebsd-userspace/rtems/include/namespace.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/freebsd-userspace/rtems/include/namespace.h b/freebsd-userspace/rtems/include/namespace.h
index 0f29486..2de5088 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
More information about the vc
mailing list