New redesign of core:sync (stored under core:sync/sync2 for the time being)

This commit is contained in:
gingerBill
2021-04-11 15:18:28 +01:00
parent 5bc9e4e4f7
commit 2db1fe7429
9 changed files with 1981 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
//+build linux, darwin, freebsd
//+private
package sync2
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) {
// stub
}