Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix mutex macro
  • Loading branch information
Soeren Sonnenburg committed Aug 22, 2011
1 parent 0964f03 commit dfba7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/base/Parallel.h
Expand Up @@ -24,7 +24,7 @@
#define PTHREAD_UNLOCK(lock) pthread_spin_unlock(&lock)
#else
#define PTHREAD_LOCK_T pthread_mutex_t
#define PTHREAD_LOCK_INIT pthread_mutex_init(&lock, NULL)
#define PTHREAD_LOCK_INIT(lock) pthread_mutex_init(&lock, NULL)
#define PTHREAD_LOCK_DESTROY(lock) pthread_mutex_destroy(&lock)
#define PTHREAD_LOCK(lock) pthread_mutex_lock(&lock)
#define PTHREAD_UNLOCK(lock) pthread_mutex_unlock(&lock)
Expand Down

0 comments on commit dfba7da

Please sign in to comment.