sync/chan.sh

Communication channel related structs and functions.

Chan()

Channel.

Chan_close()

Close the channel.

Chan_recv()

Receive a value.

Chan_send()

Send a value.