From 54286bb31e57ff4ae0f03810b7acc27031bcb034 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 2 Sep 2000 04:02:20 +0000 Subject: 2000-09-02 Ross Johnson * 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*. --- mutex.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mutex.c') diff --git a/mutex.c b/mutex.c index 42c0844..8da2891 100644 --- a/mutex.c +++ b/mutex.c @@ -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; -- cgit v1.2.3