Frama-C API - signal
Emits the signal to all connected listeners, if enabled and not locked. The signal itself is locked during the execution of listeners, breaking any circularity.
method set_enabled : bool -> unitTurns emission of signals on or off.
method lock : (unit -> unit) -> unitIf not locked, lock and execute the continuation and finally release the lock.
method connect : ('a -> unit) -> unitconnect f calls f s on each signal s.
method on_check : 'a -> (bool -> unit) -> uniton_check v fires a boolean signal (s=v) on signal s.
method on_value : 'a -> (unit -> unit) -> uniton_value v fires a unit signal on signal s when s=v.
method on_event : (unit -> unit) -> uniton_event fires a unit signal on any signal.