Events: Difference between revisions

Content added Content deleted
Line 479: Line 479:
=={{header|Oforth}}==
=={{header|Oforth}}==


An event is often implemented with a control channel. A task is waiting for a object on a channel. When the event occurs, another task sends an object on this channel.
An event is often implemented with a control channel. A task is waiting for an object on the channel. When the event occurs, another task sends an object on this channel.


<lang Oforth>func: anEvent
<lang Oforth>func: anEvent