mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Add sync/channel_*.odin files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// +build linux, darwin
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
raw_channel_wait_queue_wait_on :: proc(state: ^uintptr, timeout: time.Duration) {
|
||||
// stub
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user