void qemu_thread_exit(void *arg)

{

    QemuThread *thread = TlsGetValue(qemu_thread_tls_index);

    thread->ret = arg;

    CloseHandle(thread->thread);

    thread->thread = NULL;

    ExitThread(0);

}

void qemu_thread_exit(void *arg)

{

    QemuThread *thread = TlsGetValue(qemu_thread_tls_index);

    thread->ret = arg;

    CloseHandle(thread->thread);

    thread->thread = NULL;

    ExitThread(0);

}

    QemuThread *thread = TlsGetValue(qemu_thread_tls_index);     thread->ret = arg;     CloseHandle(thread->thread);     thread->thread = NULL;     ExitThread(0);
void FUNC_0(void *VAR_0)

{

    QemuThread *thread = TlsGetValue(qemu_thread_tls_index);

    thread->ret = VAR_0;

    CloseHandle(thread->thread);

    thread->thread = NULL;

    ExitThread(0);

}

void FUNC_0(void *VAR_0)
{ QemuThread *thread = TlsGetValue(qemu_thread_tls_index); thread->ret = VAR_0; CloseHandle(thread->thread); thread->thread = NULL; ExitThread(0); }