Quantcast
Channel: C – thoughts…
Viewing all articles
Browse latest Browse all 98

Pure C implementation of Go channels

$
0
0

“Unbuffered channels provide both a mechanism for communication as well as synchronization. When data is sent into the channel, the sender blocks until a receiver is ready. Likewise, a receiver will block until a sender is ready…”

“Buffered channels accept a limited number of values without a corresponding receiver for those values. Sending data will not block unless the channel is full. Receiving data will block only if the channel is empty…”

https://github.com/tylertreat/chan



Viewing all articles
Browse latest Browse all 98

Trending Articles