Initial Commit

This commit is contained in:
SoraKatadzuma committed 2026-12-06 13:52:57 -06:00
commit 528ccf1523
782 files changed
+145156

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#! @file waits.sakura
#! @author John Christman (sorakatadzuma@gmail.com)
#! @copyright Malunal Studios, LLC.
#! @license MIT
#!
#! Contains the functions Windows keeps for waiting on a word, of
#! `runtime::win32`, which the runtime's threads wait and wake with. They are a
#! library of their own, and a file names one library on Windows.
extern import "api-ms-win-core-synch-l1-2-0.dll" when os == windows;
extern module runtime::win32 when os == windows;
pub def WaitOnAddress(
at: *mut u32,
compare: &u32,
size: u64,
milliseconds: u32
): i32;
pub def WakeByAddressSingle(at: *mut u32): void;