static void qemu_cpu_kick_thread(CPUState *env)

{

#ifndef _WIN32

    int err;



    err = pthread_kill(env->thread->thread, SIG_IPI);

    if (err) {

        fprintf(stderr, "qemu:%s: %s", __func__, strerror(err));

        exit(1);

    }

#else /* _WIN32 */

    if (!qemu_cpu_is_self(env)) {

        SuspendThread(env->thread->thread);

        cpu_signal(0);

        ResumeThread(env->thread->thread);

    }

#endif

}

static void qemu_cpu_kick_thread(CPUState *env)

{

#ifndef _WIN32

    int err;



    err = pthread_kill(env->thread->thread, SIG_IPI);

    if (err) {

        fprintf(stderr, "qemu:%s: %s", __func__, strerror(err));

        exit(1);

    }

#else 

    if (!qemu_cpu_is_self(env)) {

        SuspendThread(env->thread->thread);

        cpu_signal(0);

        ResumeThread(env->thread->thread);

    }

#endif

}

static void FUNC_0(CPUState *VAR_0)

{

#ifndef _WIN32

    int VAR_1;



    VAR_1 = pthread_kill(VAR_0->thread->thread, SIG_IPI);

    if (VAR_1) {

        fprintf(stderr, "qemu:%s: %s", __func__, strerror(VAR_1));

        exit(1);

    }

#else 

    if (!qemu_cpu_is_self(VAR_0)) {

        SuspendThread(VAR_0->thread->thread);

        cpu_signal(0);

        ResumeThread(VAR_0->thread->thread);

    }

#endif

}

static void FUNC_0(CPUState *VAR_0)
{ #ifndef _WIN32
int VAR_1; VAR_1 = pthread_kill(VAR_0->thread->thread, SIG_IPI); if (VAR_1) { fprintf(stderr, "qemu:%s: %s", __func__, strerror(VAR_1)); exit(1); } #else
if (!qemu_cpu_is_self(VAR_0)) { SuspendThread(VAR_0->thread->thread); cpu_signal(0); ResumeThread(VAR_0->thread->thread); } #endif
}