initialize mutex and cv.

This commit is contained in:
David Xu 2006-12-06 00:03:42 +00:00
parent a8a343d2e6
commit 56073c9eac

View File

@ -31,8 +31,8 @@
#define NLOOPS 10
pthread_mutex_t m;
pthread_cond_t cv;
pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cv = PTHREAD_COND_INITIALIZER;
int wake;
int stop;