mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 07:28:13 +08:00
namespace.h: Add some pthread rwlock and mutex methods
This commit is contained in:
@@ -40,6 +40,13 @@
|
|||||||
#define _pthread_main_np pthread_main_np
|
#define _pthread_main_np pthread_main_np
|
||||||
#define _pthread_once pthread_once
|
#define _pthread_once pthread_once
|
||||||
#define _pthread_setspecific pthread_setspecific
|
#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 _read read
|
||||||
#define _recvfrom recvfrom
|
#define _recvfrom recvfrom
|
||||||
#define _sendto sendto
|
#define _sendto sendto
|
||||||
|
Reference in New Issue
Block a user