Revision 18a85728

b/cpus.c
970 970
        qemu_cond_init(env->halt_cond);
971 971
        qemu_thread_create(env->thread, qemu_tcg_cpu_thread_fn, env);
972 972
        while (env->created == 0) {
973
            qemu_cond_timedwait(&qemu_cpu_cond, &qemu_global_mutex, 100);
973
            qemu_cond_wait(&qemu_cpu_cond, &qemu_global_mutex);
974 974
        }
975 975
        tcg_cpu_thread = env->thread;
976 976
        tcg_halt_cond = env->halt_cond;
......
987 987
    qemu_cond_init(env->halt_cond);
988 988
    qemu_thread_create(env->thread, qemu_kvm_cpu_thread_fn, env);
989 989
    while (env->created == 0) {
990
        qemu_cond_timedwait(&qemu_cpu_cond, &qemu_global_mutex, 100);
990
        qemu_cond_wait(&qemu_cpu_cond, &qemu_global_mutex);
991 991
    }
992 992
}
993 993

  

Also available in: Unified diff