diff options
author | rpj <rpj> | 2005-05-17 07:39:53 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-17 07:39:53 +0000 |
commit | 3e31e8034efb37824839100c531a7e4cdeb35037 (patch) | |
tree | a5f6761f51bd4930488a66a00367783f49a1d0e9 /tests | |
parent | 8d2f6ea2182f796450bfd49401349d8e75d38f5b (diff) |
''
Diffstat (limited to 'tests')
-rw-r--r-- | tests/reuse2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reuse2.c b/tests/reuse2.c index e573a31..97d2079 100644 --- a/tests/reuse2.c +++ b/tests/reuse2.c @@ -126,7 +126,7 @@ main() assert(pthread_create(&t[i], &attr, func, NULL) == 0); } - while (NUMTHREADS > done) + while (NUMTHREADS > InterlockedExchangeAdd((LPLONG)&done, 0L)) Sleep(100); Sleep(100); |