Revision 4870852c
b/vl.c | ||
---|---|---|
3750 | 3750 |
return; |
3751 | 3751 |
} |
3752 | 3752 |
|
3753 |
#define qemu_mutex_lock_iothread() do { } while (0) |
|
3754 |
#define qemu_mutex_unlock_iothread() do { } while (0) |
|
3755 |
|
|
3753 | 3756 |
#ifdef _WIN32 |
3754 | 3757 |
static void host_main_loop_wait(int *timeout) |
3755 | 3758 |
{ |
... | ... | |
3842 | 3845 |
slirp_select_fill(&nfds, &rfds, &wfds, &xfds); |
3843 | 3846 |
} |
3844 | 3847 |
#endif |
3848 |
qemu_mutex_unlock_iothread(); |
|
3845 | 3849 |
ret = select(nfds + 1, &rfds, &wfds, &xfds, &tv); |
3850 |
qemu_mutex_lock_iothread(); |
|
3846 | 3851 |
if (ret > 0) { |
3847 | 3852 |
IOHandlerRecord **pioh; |
3848 | 3853 |
|
Also available in: Unified diff