summaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync.c b/sync.c
index c3bd438..e8262a6 100644
--- a/sync.c
+++ b/sync.c
@@ -37,6 +37,8 @@ pthread_join(pthread_t thread, void ** valueptr)
return EINVAL;
}
+ this->joinvalueptr = valueptr;
+
/* Wait on the kernel thread object. */
switch (WaitForSingleObject(thread, INFINITE))
{