Add sync/channel_*.odin files
This commit is contained in:
1 parent
6d032e6f1a
commit
91ff3e5bca
2 files changed
+53
No files matched your search
@@ -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