mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 02:34:17 +03:00
parent
87e81e609b
commit
ffbb7dac3d
103 changed files with 0 additions and 611 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue