Rename futex_wake and futex_wake_all to futex_signal and futex_broadcast

This commit is contained in:
gingerBill
2021-10-11 16:40:23 +01:00
parent 46b33854c9
commit d97c6a7657
6 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ _futex_wait_with_timeout :: proc(f: ^Futex, expect: u32, duration: time.Duration
return bool(WaitOnAddress(f, &expect, size_of(expect), timeout))
}
_futex_wake_single :: proc(f: ^Futex) {
_futex_signal :: proc(f: ^Futex) {
WakeByAddressSingle(f)
}
_futex_wake_all :: proc(f: ^Futex) {
_futex_broadcast :: proc(f: ^Futex) {
WakeByAddressAll(f)
}