Initial Commit

This commit is contained in:
SoraKatadzuma committed 2026-11-19 04:54:17 -06:00
commit f086abcea6
789 files changed
+149185

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#! @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
#! `system::windows`, which `system` and the runtime 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 system::windows when os == windows;
pub def WaitOnAddress(
at: *mut u32, compare: &u32, size: u64, milliseconds: u32
): i32;
pub def WakeByAddressSingle(at: *mut u32): void;
pub def WakeByAddressAll(at: *mut u32): void;