rochus-keller/CspChan
View on GitHub ↗ ★ 450 C
A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects.
4 mentions on Hacker News by 1 person: 1 story, 3 comments · first 2023-12-13 · latest 2025-01-25
20082026
-
…don't block (unfortunately not supported by this library, but here is one which supports it: https://github.com/rochus-keller/cspchan/ ).
comment by Rochus · 2025-01-25 · in Pure C implementation of Go channels -
…abandon communication could be useful. I implemented this in the C library I use for experiments: https://github.com/rochus-keller/CspChan > the proposal for it to take a timeout, which could then be detected via execution of ELSE? It…
comment by Rochus · 2023-12-27 · in Towards Oberon+ Concurrency -
…described. Unfortunately I don't have an example in Oberon yet, but here is one from my C library: https://github.com/rochus-keller/CspChan/blob/6867c1a28e1443... . What is called a "Nursery" in the article is just a procedure here…
comment by Rochus · 2023-12-26 · in Towards Oberon+ Concurrency -
▲ 271
Show HN: A pure C89 implementation of Go channels, with blocking selectsstory by Rochus · 2023-12-13 · 166 comments