diff options
author | rpj <rpj> | 2000-09-02 04:02:20 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-09-02 04:02:20 +0000 |
commit | 54286bb31e57ff4ae0f03810b7acc27031bcb034 (patch) | |
tree | 09ab610b97afa1f2d464f8dd2bf2ec64ab05b9ce /mutex.c | |
parent | 9250a2a259e1163c3c3e234366a1b8c65b64a89f (diff) |
2000-09-02 Ross Johnson <rpj@special.ise.canberra.edu.au>
* rwlock.c (_rwlock_check*): Renamed to
ptw32_rwlock_check*.
* mutex.c (_mutex_check*): Renamed to ptw32_mutex_check*.
* condvar.c (cond_timed*): Renamed to ptw32_cond_timed*.
(_cond_check*): Renamed to ptw32_cond_check*.
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -31,7 +31,7 @@ static int -_mutex_check_need_init(pthread_mutex_t *mutex) +ptw32_mutex_check_need_init(pthread_mutex_t *mutex) { int result = 0; @@ -250,7 +250,7 @@ pthread_mutex_destroy(pthread_mutex_t *mutex) else { /* - * See notes in _mutex_check_need_init() above also. + * See notes in ptw32_mutex_check_need_init() above also. */ EnterCriticalSection(&ptw32_mutex_test_init_lock); @@ -530,12 +530,12 @@ pthread_mutex_lock(pthread_mutex_t *mutex) /* * We do a quick check to see if we need to do more work * to initialise a static mutex. We check - * again inside the guarded section of _mutex_check_need_init() + * again inside the guarded section of ptw32_mutex_check_need_init() * to avoid race conditions. */ if (*mutex == (pthread_mutex_t) PTW32_OBJECT_AUTO_INIT) { - result = _mutex_check_need_init(mutex); + result = ptw32_mutex_check_need_init(mutex); } mx = *mutex; @@ -609,12 +609,12 @@ pthread_mutex_trylock(pthread_mutex_t *mutex) /* * We do a quick check to see if we need to do more work * to initialise a static mutex. We check - * again inside the guarded section of _mutex_check_need_init() + * again inside the guarded section of ptw32_mutex_check_need_init() * to avoid race conditions. */ if (*mutex == (pthread_mutex_t) PTW32_OBJECT_AUTO_INIT) { - result = _mutex_check_need_init(mutex); + result = ptw32_mutex_check_need_init(mutex); } mx = *mutex; |