diff options
| author | bje <bje> | 1998-07-13 15:07:20 +0000 | 
|---|---|---|
| committer | bje <bje> | 1998-07-13 15:07:20 +0000 | 
| commit | 99da31c6c17512641a137046160061031229a963 (patch) | |
| tree | feef1b6b636fa066176c0a2e93946ec797055931 | |
| parent | 00a7b51609c86bf0cdc9b3ea8fb4f8d2b672c989 (diff) | |
1998-07-14  Ben Elliston  <bje@cygnus.com>
	* mutex.c (pthread_mutex_lock): Add `_mutex' to function name.
	(pthread_mutex_trylock): Likewise.
	(pthread_mutex_unlock): Likewise.
| -rw-r--r-- | mutex.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -171,7 +171,7 @@ pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr,  }  int -pthread_lock(pthread_mutex_t *mutex) +pthread_mutex_lock(pthread_mutex_t *mutex)  {    switch (WaitForSingleObject(*mutex, INFINITE))      { @@ -188,7 +188,7 @@ pthread_lock(pthread_mutex_t *mutex)  }  int -pthread_unlock(pthread_mutex_t *mutex) +pthread_mutex_unlock(pthread_mutex_t *mutex)  {    if (ReleaseMutex(*mutex) != TRUE)      { @@ -204,7 +204,7 @@ pthread_unlock(pthread_mutex_t *mutex)  }  int -pthread_trylock(pthread_mutex_t *mutex) +pthread_mutex_trylock(pthread_mutex_t *mutex)  {    /* If the mutex is already held, return EBUSY. */    switch (WaitForSingleObject(*mutex, 0)) | 
