diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-12-06 00:03:42 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-12-06 00:03:42 +0000 |
| commit | 56073c9eacb10783c1e3f075850eddcb64383bb2 (patch) | |
| tree | 711079e9df040ea458e21b3145f2276fc75f3e15 /tools | |
| parent | a8a343d2e609ed41b59e73f668830a79108107ff (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/regression/pthread/cv_cancel1/cv_cancel1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/pthread/cv_cancel1/cv_cancel1.c b/tools/regression/pthread/cv_cancel1/cv_cancel1.c index 22d82185e7e0..cacad44c2280 100644 --- a/tools/regression/pthread/cv_cancel1/cv_cancel1.c +++ b/tools/regression/pthread/cv_cancel1/cv_cancel1.c @@ -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; |
