threads: add untimed control cond call

The control conditions so far could only do timed waits, not normal
waits.
pull/1489/head
Victor Julien 10 years ago
parent c7bc9ae6a8
commit 5037ea93f3

@ -47,6 +47,7 @@
#define SCCtrlCondInit pthread_cond_init
#define SCCtrlCondSignal pthread_cond_signal
#define SCCtrlCondTimedwait pthread_cond_timedwait
#define SCCtrlCondWait pthread_cond_wait
#define SCCtrlCondDestroy pthread_cond_destroy
/* mutex */

@ -383,6 +383,7 @@
#define SCCtrlCondInit pthread_cond_init
#define SCCtrlCondSignal pthread_cond_signal
#define SCCtrlCondTimedwait pthread_cond_timedwait
#define SCCtrlCondWait pthread_cond_wait
#define SCCtrlCondDestroy pthread_cond_destroy
#endif

@ -212,6 +212,7 @@ extern __thread uint64_t rwr_lock_cnt;
#define SCCtrlCondInit pthread_cond_init
#define SCCtrlCondSignal pthread_cond_signal
#define SCCtrlCondTimedwait pthread_cond_timedwait
#define SCCtrlCondWait pthread_cond_wait
#define SCCtrlCondDestroy pthread_cond_destroy
#endif

@ -153,6 +153,7 @@ enum {
#define SCCtrlCondInit pthread_cond_init
#define SCCtrlCondSignal pthread_cond_signal
#define SCCtrlCondTimedwait pthread_cond_timedwait
#define SCCtrlCondWait pthread_cond_wait
#define SCCtrlCondDestroy pthread_cond_destroy
/* spinlocks */

Loading…
Cancel
Save