On 7/3/25 04:55, Philippe Mathieu-Daudé wrote:
+void dummy_thread_precreate(CPUState *cpu)
+{
+#ifdef _WIN32
+    qemu_sem_init(&cpu->sem, 0);
+#endif
+}

Incidentally, why is this not in cpu_common_initfn, the instance_init for CPUState? Given the placement of CPUState.sem, that would seem to be the logical place.



r~

Reply via email to