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*. --- rwlock.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'rwlock.c') diff --git a/rwlock.c b/rwlock.c index 4353847..302d77b 100644 --- a/rwlock.c +++ b/rwlock.c @@ -29,7 +29,7 @@ #include "implement.h" static int -_rwlock_check_need_init(pthread_rwlock_t *rwlock) +ptw32_rwlock_check_need_init(pthread_rwlock_t *rwlock) { int result = 0; @@ -198,7 +198,7 @@ pthread_rwlock_destroy(pthread_rwlock_t *rwlock) else { /* - * See notes in _rwlock_check_need_init() above also. + * See notes in ptw32_rwlock_check_need_init() above also. */ EnterCriticalSection(&ptw32_rwlock_test_init_lock); @@ -254,12 +254,12 @@ pthread_rwlock_rdlock(pthread_rwlock_t *rwlock) /* * We do a quick check to see if we need to do more work * to initialise a static rwlock. We check - * again inside the guarded section of _rwlock_check_need_init() + * again inside the guarded section of ptw32_rwlock_check_need_init() * to avoid race conditions. */ if (*rwlock == (pthread_rwlock_t) PTW32_OBJECT_AUTO_INIT) { - result = _rwlock_check_need_init(rwlock); + result = ptw32_rwlock_check_need_init(rwlock); if (result != 0 && result != EBUSY) { @@ -332,12 +332,12 @@ pthread_rwlock_wrlock(pthread_rwlock_t * rwlock) /* * We do a quick check to see if we need to do more work * to initialise a static rwlock. We check - * again inside the guarded section of _rwlock_check_need_init() + * again inside the guarded section of ptw32_rwlock_check_need_init() * to avoid race conditions. */ if (*rwlock == (pthread_rwlock_t) PTW32_OBJECT_AUTO_INIT) { - result = _rwlock_check_need_init(rwlock); + result = ptw32_rwlock_check_need_init(rwlock); if (result != 0 && result != EBUSY) { @@ -463,12 +463,12 @@ pthread_rwlock_tryrdlock(pthread_rwlock_t * rwlock) /* * We do a quick check to see if we need to do more work * to initialise a static rwlock. We check - * again inside the guarded section of _rwlock_check_need_init() + * again inside the guarded section of ptw32_rwlock_check_need_init() * to avoid race conditions. */ if (*rwlock == (pthread_rwlock_t) PTW32_OBJECT_AUTO_INIT) { - result = _rwlock_check_need_init(rwlock); + result = ptw32_rwlock_check_need_init(rwlock); if (result != 0 && result != EBUSY) { @@ -518,12 +518,12 @@ pthread_rwlock_trywrlock(pthread_rwlock_t * rwlock) /* * We do a quick check to see if we need to do more work * to initialise a static rwlock. We check - * again inside the guarded section of _rwlock_check_need_init() + * again inside the guarded section of ptw32_rwlock_check_need_init() * to avoid race conditions. */ if (*rwlock == (pthread_rwlock_t) PTW32_OBJECT_AUTO_INIT) { - result = _rwlock_check_need_init(rwlock); + result = ptw32_rwlock_check_need_init(rwlock); if (result != 0 && result != EBUSY) { -- cgit v1.2.3