diff options
Diffstat (limited to 'oslib-win32.c')
-rw-r--r-- | oslib-win32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oslib-win32.c b/oslib-win32.c index 5e3de7dc8a..ce3021e6c7 100644 --- a/oslib-win32.c +++ b/oslib-win32.c @@ -118,3 +118,8 @@ int qemu_gettimeofday(qemu_timeval *tp) Do not set errno on error. */ return 0; } + +int qemu_get_thread_id(void) +{ + return GetCurrentThreadId(); +} |