diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-02 10:05:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-02 10:05:41 +0000 |
| commit | 4d938862a21d12a2a203175e06c84c4c17b0e7f7 (patch) | |
| tree | 2f25ab180aac3fd393d5c853e777f436ff550bcb /core/sys/windows/kernel32.odin | |
| parent | f7901cffc9f4983259586241d5b336cdb6377b9c (diff) | |
| parent | 54caa6af008d2f8513bd7fca3aa0a8a5973070b4 (diff) | |
Merge pull request #5816 from jakubtomsu/win32-rawinput-and-barriers
[core:sys/windows] Sync Barriers, macros for buffered rawinput
Diffstat (limited to 'core/sys/windows/kernel32.odin')
| -rw-r--r-- | core/sys/windows/kernel32.odin | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin index 0309ff16f..f66698dd8 100644 --- a/core/sys/windows/kernel32.odin +++ b/core/sys/windows/kernel32.odin @@ -225,6 +225,16 @@ foreign kernel32 { ) -> BOOL --- WaitForSingleObject :: proc(hHandle: HANDLE, dwMilliseconds: DWORD) -> DWORD --- WaitForSingleObjectEx :: proc(hHandle: HANDLE, dwMilliseconds: DWORD, bAlterable: BOOL) -> DWORD --- + EnterSynchronizationBarrier :: proc( + lpBarrier: ^SYNCHRONIZATION_BARRIER, + dwFlags: SYNCHRONIZATION_BARRIER_FLAGS, + ) -> BOOL --- + InitializeSynchronizationBarrier :: proc( + lpBarrier: ^SYNCHRONIZATION_BARRIER, + lTotalThreads: LONG, + lSpinCount: LONG, + ) -> BOOL --- + DeleteSynchronizationBarrier :: proc(lpBarrier: ^SYNCHRONIZATION_BARRIER) -> BOOL --- Sleep :: proc(dwMilliseconds: DWORD) --- GetProcessId :: proc(handle: HANDLE) -> DWORD --- CopyFileW :: proc( |