Add sys/windows/synchronization.odin
This commit is contained in:
1 parent
91ff3e5bca
commit
9cc20954a3
2 files changed
+11
-5
No files matched your search
@@ -11,10 +11,6 @@ raw_channel_wait_queue_signal :: proc(q: ^Raw_Channel_Wait_Queue) {
|
||||
// stub
|
||||
}
|
||||
|
||||
|
||||
raw_channel_wait_queue_broadcast :: proc(q: ^Raw_Channel_Wait_Queue) {
|
||||
for x := q^; x != nil; x = x.next {
|
||||
q^ = x.next;
|
||||
// stub
|
||||
}
|
||||
// stub
|
||||
}
|
||||
@@ -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) ---
|
||||
}
|
||||
Reference in new issue
Block a user