summaryrefslogtreecommitdiff
path: root/tests/condvar3_1.c
diff options
context:
space:
mode:
authorrpj <rpj>2002-02-18 03:16:52 +0000
committerrpj <rpj>2002-02-18 03:16:52 +0000
commita416ab17ecf9f2cb0f1e3f7bd645a8d1ce690ca2 (patch)
tree72f776cd64e48824a5578ff7a523bc69097143b4 /tests/condvar3_1.c
parente6f1797e9e9925ae7f9dda54806ef8f52ae3ed07 (diff)
Major reorganisation of source code; new routine and tests added.
Diffstat (limited to 'tests/condvar3_1.c')
-rw-r--r--tests/condvar3_1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/condvar3_1.c b/tests/condvar3_1.c
index e181c58..9c4e25b 100644
--- a/tests/condvar3_1.c
+++ b/tests/condvar3_1.c
@@ -161,6 +161,8 @@ main()
signaled++;
}
+ assert(pthread_cond_destroy(&cv1) == 0);
+
for (i = 1; i <= NUMTHREADS; i++)
{
assert(pthread_join(t[i], (void **) &result) == 0);