diff options
| author | gingerBill <bill@gingerbill.org> | 2020-08-02 15:07:52 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-08-02 15:07:52 +0100 |
| commit | 9cc20954a3fa8f6b4b4e1f3f9a18e528700a06f1 (patch) | |
| tree | c69e049a7bcc584ae4147b5b46f7b8c14d48d26f /core/sys | |
| parent | 91ff3e5bca8e75b4981ed2f10c758525d725a398 (diff) | |
Add sys/windows/synchronization.odin
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/windows/synchronization.odin | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/sys/windows/synchronization.odin b/core/sys/windows/synchronization.odin new file mode 100644 index 000000000..6f864de03 --- /dev/null +++ b/core/sys/windows/synchronization.odin @@ -0,0 +1,10 @@ +package sys_windows + +foreign import Synchronization "system:Synchronization.lib" + +@(default_calling_convention="c") +foreign Synchronization { + WaitOnAddress :: proc(Address: PVOID, CompareAddress: PVOID, AddressSize: SIZE_T, dwMilliseconds: DWORD) -> BOOL --- + WakeByAddressSingle :: proc(Address: PVOID) --- + WakeByAddressAll :: proc(Address: PVOID) --- +} |