<channel> ( -- channel )
Channels

Next:to ( value channel -- )


Vocabulary
channels

Inputs
None

Outputs
channela channel


Word description
Create a channel that can be used for communicating between concurrent processes and threads. to and from can be used to send and receive data to/from the channel respectively. There can be multiple readers and writers on a channel. If there are multiple readers or writers, only one is selected at random to resume.

See also
from, to

Definition