Commit 405b8f1a authored by unknown's avatar unknown

Removed not needed comment (to keep aligned with the rest of the code)

parent 83417dd9
...@@ -435,9 +435,8 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, ...@@ -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_trylock returns 1 on success, not 0 like
pthread_mutex_lock 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 #undef pthread_mutex_trylock
int my_pthread_mutex_trylock(pthread_mutex_t *mutex) int my_pthread_mutex_trylock(pthread_mutex_t *mutex)
{ {
int error=pthread_mutex_trylock(mutex); int error=pthread_mutex_trylock(mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment