|
RCU::Event - Event-based RCU operation |
RCU::Event - Event-based RCU operation
use RCU::Event;
$rcu = connect RCU::Event "interfac-spec", [initial-context]
This module provides a superset of the standard RCU interface by adding
an event-based interface. Basically, you create one or more contexts
(See RCU::Context) and bind it to a RCU::Event object. All key events
will then be directed to the current context.
inject(key)key was pressed (key starts with ``='') or released
(when key starts with ~). This is rarely used but is useful to
``simulate'' key presses.
set_context(new_context)new_context, to which
all new events are directed to.
push_context(new_context)new_context without leaving the current one.
push_context.
This perl extension was written by Marc Lehmann <schmorp@schmorp.de>.
|
RCU::Event - Event-based RCU operation |