Permalink
Browse files

Updated comments

  • Loading branch information...
sanketr committed Feb 26, 2012
1 parent 90d0d6d commit 0650a4c5fc41e91939b02b716bee3439587d2a9e
Showing with 2 additions and 2 deletions.
  1. +2 −2 test.c
View
4 test.c
@@ -3,7 +3,7 @@
void startTest(int);
-int gThreads = 0; //number of mama threads
+int gThreads = 0; //number of threads
FnPtr* gFn = NULL;
static pthread_mutex_t* gLock = NULL;
@@ -13,7 +13,7 @@ void initThreads(int nThreads, FnPtr* fns)
gThreads = nThreads;
//set function pointers
gFn = fns;
- //create mutexes for each mama thread
+ //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);

0 comments on commit 0650a4c

Please sign in to comment.