Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated for Linux

  • Loading branch information...
commit 338b6882a291601c6f90eb7124df86e28c3dc6b4 1 parent 5234155
@sanketr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test.c
View
2  test.c
@@ -16,7 +16,7 @@ void initThreads(int nThreads, FnPtr* fns)
//create mutexes for each thread
gLock = (pthread_mutex_t*) malloc (gThreads * sizeof(pthread_mutex_t));
pthread_mutexattr_t mutexAttr;
- pthread_mutexattr_settype(&mutexAttr,PTHREAD_MUTEX_NORMAL);
+ pthread_mutexattr_settype(&mutexAttr,NULL);
int i;
//initialize the mutexes
for(i=0;i<gThreads;i++){
Please sign in to comment.
Something went wrong with that request. Please try again.