Commit 068909f4 authored by Ian Barber's avatar Ian Barber

Merge pull request #526 from breese/master

Fixed Linux compilation problem
parents be116083 7e37cc8e
...@@ -316,7 +316,7 @@ int main (int argc, char *argv []) ...@@ -316,7 +316,7 @@ int main (int argc, char *argv [])
WaitForSingleObject (worker[i], INFINITE); WaitForSingleObject (worker[i], INFINITE);
CloseHandle (worker[i]); CloseHandle (worker[i]);
#else #else
pthread_join( worker[i], &p); pthread_join( worker[i], NULL);
#endif #endif
printf("Worker %d joined\n", i); printf("Worker %d joined\n", i);
} }
......
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