Commit Graph

8 Commits (07b5d6b1b6ffc61a524bb8610183a86b614ed90d)

Author SHA1 Message Date
Uwe Krüger b015033c53
builtin: add methods to builtin channels (#6303) 2020-09-05 01:36:20 +02:00
Uwe Krüger 9602a25a0b
all: add builtin channel type `chan elem_type` (#6126) 2020-08-14 21:18:42 +02:00
Uwe Krüger bb93bf34ec
sync/semaphores: use dispatch semaphores on MacOS (#6110) 2020-08-12 03:45:09 +02:00
Uwe Krüger 433610b5c0
sync/channels: provide `.cap` and `.len()` (#6104) 2020-08-11 17:52:13 +02:00
Uwe Krüger c3cdfa1c96
sync/channels: provide `try_push(), try_pop() as public methods (#6101) 2020-08-10 18:06:42 +02:00
Uwe Krüger 20a65cf9c8
sync/channels: implement `close()` method (#6098) 2020-08-10 06:22:20 +02:00
Uwe Krüger d63daa0798
sync: use `mfence` on windows-tcc (#6079) 2020-08-06 17:31:05 +02:00
Uwe Krüger 863cf8af60
sync: channel implementation (#6074) 2020-08-06 15:28:19 +02:00