diff options
author | bje <bje> | 1998-07-17 12:47:32 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-17 12:47:32 +0000 |
commit | 270256a021c517590f5869a6f8a3f7e73d1fe63e (patch) | |
tree | bc54ef1f3318c57639b02b780ead37cc9d4895de /misc.c | |
parent | d6e51bbaac36e2f670bba351a4cd74e1c0d308ad (diff) |
1998-07-17 Ben Elliston <bje@cygnus.com>
* mutex.c (pthread_mutex_init): Use InitializeCritcalSection().
(pthread_mutex_destroy): Use DeleteCriticalSection().
(pthread_mutex_lock): Use EnterCriticalSection().
(pthread_mutex_trylock): Use TryEnterCriticalSection(). This is
not supported by Windows 9x, but trylock is a hack anyway, IMHO.
(pthread_mutex_unlock): Use LeaveCriticalSection().
Diffstat (limited to 'misc.c')
0 files changed, 0 insertions, 0 deletions