initial support to remove a static variable in qemu-thread-win32.c
This commit is contained in:
2
uc.c
2
uc.c
@ -465,7 +465,7 @@ static void enable_emu_timer(uch handle, uint64_t timeout)
|
||||
struct uc_struct *uc = (struct uc_struct *)handle;
|
||||
|
||||
uc->timeout = timeout;
|
||||
qemu_thread_create(&uc->timer, "timeout", _timeout_fn,
|
||||
qemu_thread_create(uc, &uc->timer, "timeout", _timeout_fn,
|
||||
uc, QEMU_THREAD_JOINABLE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user