summaryrefslogtreecommitdiffstats
path: root/test/src/thd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/thd.c')
-rw-r--r--test/src/thd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/src/thd.c b/test/src/thd.c
index c9d0065..e316708 100644
--- a/test/src/thd.c
+++ b/test/src/thd.c
@@ -13,7 +13,6 @@ thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
void
thd_join(thd_t thd, void **ret)
{
-
if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) {
DWORD exit_code;
GetExitCodeThread(thd, (LPDWORD) &exit_code);
@@ -25,7 +24,6 @@ thd_join(thd_t thd, void **ret)
void
thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
{
-
if (pthread_create(thd, NULL, proc, arg) != 0)
test_fail("Error in pthread_create()\n");
}
@@ -33,7 +31,6 @@ thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
void
thd_join(thd_t thd, void **ret)
{
-
pthread_join(thd, ret);
}
#endif