Rename futex_wake and futex_wake_all to futex_signal and futex_broadcast
This commit is contained in:
1 parent
46b33854c9
commit
d97c6a7657
6 files changed
+15
-15
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user