about summary refs log tree commit diff stats
path: root/src/os/os_wine.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-04-10 18:14:50 +0800
committerGitHub <noreply@github.com>2025-04-10 12:14:50 +0200
commitf9f082ee53ae0ab8e12b0c1bf1de339af8b92282 (patch)
treeb040c5f88bf691cc67f7fc1bd9c8b4914ea4758b /src/os/os_wine.c
parent66bb1aeb89d7ee64cad83ab12208b221ce5e9731 (diff)
downloadbox64-f9f082ee53ae0ab8e12b0c1bf1de339af8b92282.tar.gz
box64-f9f082ee53ae0ab8e12b0c1bf1de339af8b92282.zip
[WOW64] More work on the PE wow64 build (#2518)
* [WOW64] More work on the PE wow64 build

* added a TODO
Diffstat (limited to 'src/os/os_wine.c')
-rw-r--r--src/os/os_wine.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/os_wine.c b/src/os/os_wine.c
index e5bc47b5..6f6eaf38 100644
--- a/src/os/os_wine.c
+++ b/src/os/os_wine.c
@@ -7,6 +7,11 @@ int GetTID(void)
     return GetCurrentThreadId();
 }
 
+int SchedYield(void)
+{
+    return SwitchToThread();
+}
+
 void PersonalityAddrLimit32Bit(void) { }
 
 ULONG_PTR default_zero_bits32 = 0x7fffffff;