diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-02-28 21:46:13 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-02-28 21:46:13 +0100 |
commit | 736c68a680d001271c19a2c45fbad5a35579f96c (patch) | |
tree | 7a5db907a9b42531f6760691a3390d96b8bf3649 /threading_pthread.c | |
parent | dc16ab2da7065f82230087a84654167aec5444dc (diff) |
cover art WIP
Diffstat (limited to 'threading_pthread.c')
-rw-r--r-- | threading_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threading_pthread.c b/threading_pthread.c index c3e4e8fb..3b04e7c8 100644 --- a/threading_pthread.c +++ b/threading_pthread.c @@ -58,7 +58,7 @@ thread_join (intptr_t tid) { } uintptr_t -mutex_create (void) { +mutex_create_nonrecursive (void) { pthread_mutex_t *mtx = malloc (sizeof (pthread_mutex_t)); pthread_mutexattr_t attr = {0}; pthread_mutexattr_init (&attr); @@ -73,7 +73,7 @@ mutex_create (void) { } uintptr_t -mutex_create_recursive (void) { +mutex_create (void) { pthread_mutex_t *mtx = malloc (sizeof (pthread_mutex_t)); pthread_mutexattr_t attr = {0}; pthread_mutexattr_init (&attr); |