Channel (programming): Difference between revisions

Content deleted Content added
m Blocking_(scheduling) does not exist any more--~~~~
Line 5:
==Channel implementations==
 
Most Channel implementations are modeled close to the CSP model. Channels are inherently [[Synchronization (computer science)|synchronous]]: a process waiting to receive an object from a channel will [[Blocking Blocking_(schedulingcomputing)|block]] until the object is sent. This is also called [[rendezvous behaviour]].
Typical supported operations are presented below using the example of the [[libthread]] channel API.
* Channel creation of fixed or variable size, returning a [[reference]] or [[Reference (computer science)|handle]] <source lang="c">Channel* chancreate(int elemsize, int bufsize)</source>