diff options
author | jsorg71 <jsorg71> | 2007-02-04 07:54:23 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-02-04 07:54:23 +0000 |
commit | 281d804923da4bcce786b91acb4bc63487fcc90b (patch) | |
tree | 433e882931422b008b0e03b84fb4ee78542455bd /common/thread_calls.h | |
parent | 7ed52495d0a5eb4884b8ba5b5eab489433b0a55e (diff) | |
download | xrdp-proprietary-281d804923da4bcce786b91acb4bc63487fcc90b.tar.gz xrdp-proprietary-281d804923da4bcce786b91acb4bc63487fcc90b.zip |
thread_calls and added semaphore
Diffstat (limited to 'common/thread_calls.h')
-rw-r--r-- | common/thread_calls.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/common/thread_calls.h b/common/thread_calls.h index e1697d36..e7e64b20 100644 --- a/common/thread_calls.h +++ b/common/thread_calls.h @@ -28,12 +28,20 @@ tc_thread_create(THREAD_RV (THREAD_CC * start_routine)(void*), void* arg); long APP_CC tc_get_threadid(void); long APP_CC -tc_create_mutex(void); +tc_mutex_create(void); void APP_CC -tc_delete_mutex(long mutex); +tc_mutex_delete(long mutex); int APP_CC -tc_lock_mutex(long mutex); +tc_mutex_lock(long mutex); int APP_CC -tc_unlock_mutex(long mutex); +tc_mutex_unlock(long mutex); +long APP_CC +tc_sem_create(int init_count); +void APP_CC +tc_sem_delete(long sem); +int APP_CC +tc_sem_dec(long sem); +int APP_CC +tc_sem_inc(long sem); #endif |