diff options
author | rpj <rpj> | 2000-08-17 10:18:36 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-08-17 10:18:36 +0000 |
commit | a366b6d8c2e6debf247c82af3d41aa2483711c52 (patch) | |
tree | e2a2f6785897a8789f88403e99d4f03dce301607 /rwlock.c | |
parent | 951895c3aa196e90d4a5ecefe337d8773b8d33b7 (diff) |
2000-08-17 Ross Johnson <rpj@special.ise.canberra.edu.au>
* All applicable: Change _pthread_ prefix to
ptw32_ prefix to remove leading underscores
from private library identifiers (single
and double leading underscores are reserved in the
ANSI C standard for compiler implementations).
Diffstat (limited to 'rwlock.c')
-rw-r--r-- | rwlock.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -54,7 +54,7 @@ _rwlock_check_need_init(pthread_rwlock_t *rwlock) * the number of processors + 1. * */ - EnterCriticalSection(&_pthread_rwlock_test_init_lock); + EnterCriticalSection(&ptw32_rwlock_test_init_lock); /* * We got here possibly under race @@ -78,7 +78,7 @@ _rwlock_check_need_init(pthread_rwlock_t *rwlock) result = EINVAL; } - LeaveCriticalSection(&_pthread_rwlock_test_init_lock); + LeaveCriticalSection(&ptw32_rwlock_test_init_lock); return(result); } @@ -197,7 +197,7 @@ pthread_rwlock_destroy(pthread_rwlock_t *rwlock) /* * See notes in _rwlock_check_need_init() above also. */ - EnterCriticalSection(&_pthread_rwlock_test_init_lock); + EnterCriticalSection(&ptw32_wlock_test_init_lock); /* * Check again. @@ -221,7 +221,7 @@ pthread_rwlock_destroy(pthread_rwlock_t *rwlock) result = EBUSY; } - LeaveCriticalSection(&_pthread_rwlock_test_init_lock); + LeaveCriticalSection(&ptw32_rwlock_test_init_lock); } return(result); |