Channel Demonstration

In this example, Producer and Consumer threads communicate by a synchronous message passing channel. The producer outputs characters using chan!c (CSP-like notation) and the consumer inputs characters using chan?c. inputs characters

Unable to load applet

View Source

Channel Source

Demo List