summaryrefslogtreecommitdiff
path: root/mysys/my_pthread.c
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2002-08-13 23:41:32 +0200
committerunknown <monty@work.mysql.com>2002-08-13 23:41:32 +0200
commit405b8f1ada6e6e574e47c62bd2ecbd3d479cbd0e (patch)
treec1514ff1164d1ed8a8f46277d3407af3c594cdc7 /mysys/my_pthread.c
parent83417dd93f35f2f53f6c18f7fcce844f016b6d16 (diff)
downloadmariadb-git-405b8f1ada6e6e574e47c62bd2ecbd3d479cbd0e.tar.gz
Removed not needed comment (to keep aligned with the rest of the code)
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r--mysys/my_pthread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index 4acc9ea7df8..15ca8934bcb 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -435,9 +435,8 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond,
pthread_mutex_trylock returns 1 on success, not 0 like
pthread_mutex_lock
*/
-/* We defined pthread_mutex_trylock as a macro in my_pthread.h, we have
- to undef it here to prevent infinite recursion! */
#undef pthread_mutex_trylock
+
int my_pthread_mutex_trylock(pthread_mutex_t *mutex)
{
int error=pthread_mutex_trylock(mutex);