Channel object
In the comsystem, you may specify a channel object for each channel. (@cset/object channel=<object>). See @cset for additional information.
Channel objects allow you to specify a description for a channel, and place certain restrictions on joining, transmitting and receiving. Restrictions can be handled by either the channel flags or by modifying the appropriate lock on the channel object.
Note: If a channel flag is set by @cpflags or @coflags, those will ALWAYS override the equivalent lock. The flags are set by default, so you will have to clear them before your locks work. |
The join lock for a channel is a normal @lock on the channel object. The transmit lock for a channel is a UseLock @lock on the channel object. The receive lock for a channel is an EnterLock @lock on the channel object. The description of a channel is the @desc of the channel object.
Related Topics: comsys, @ccreate, @coflags, @cpflags, @create, @cset.