[THREADING] Removed old walkaround for zombie threads

This commit is contained in:
Radosław Gliński 2019-11-16 12:06:40 +01:00 committed by illusion98
parent bdd5947e85
commit f98770190e
1 changed files with 0 additions and 3 deletions

View File

@ -137,9 +137,6 @@ dword_result_t ExCreateThread(lpdword_t handle_ptr, dword_t stack_size,
if (handle_ptr) {
if (creation_flags & 0x80) {
*handle_ptr = thread->guest_object();
} else if (!*handle_ptr && (creation_flags == X_CREATE_SUSPENDED)) {
// TODO(Gliniak): Temporary solution, requires more research // && !stack_size
*handle_ptr = thread->handle();
} else {
*handle_ptr = thread->handle();
}