diff options
author | rpj <rpj> | 1999-02-20 02:56:35 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-02-20 02:56:35 +0000 |
commit | 4a30695c72d49a8d4a7c9dd7892456170eaa39d6 (patch) | |
tree | b89c57145b21edc2daa7c031e18e3e2acc4391cf /mutex.c | |
parent | 2f59893abc1ef66e851c4bba56c4b421710d4183 (diff) |
Sat Feb 20 16:03:30 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* dll.c (DLLMain): Expand TryEnterCriticalSection support test.
* mutex.c (pthread_mutex_trylock): The check for
_pthread_try_enter_critical_section == NULL should have been
removed long ago.
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -513,12 +513,6 @@ pthread_mutex_trylock(pthread_mutex_t *mutex) return EINVAL; } - if (mutex->mutex == 0 && _pthread_try_enter_critical_section == NULL) - { - /* TryEnterCriticalSection does not exist in the OS; return ENOSYS. */ - return ENOSYS; - } - /* * We do a quick check to see if we need to do more work * to initialise a static mutex. We check 'staticinit' |