Active module instances run on their own fibers (optionally in a new process) for an DMod.
Usage:actref(X)
X is the reference of an active module instance
Options to control the location of the fiber:
Options to specify the active module implementation:
Usage:spawn_opt(X)
X is an spawning option
Usage:actmod_spawn(DMod,Opts,ActRef)
Create a new active module instance of DMod. Opts is a list of options and ActRef the active module instance reference.
Usage:actmod_kill(ActRef,Msg)
Sends SIGKILL signal to the active module instance ActRef. If not registered as a child process, it is considered to be a daemon. Return message in Msg.
Usage:actmod_terminate(ActRef,Msg)
Sends SIGTERM signal to the active module instance ActRef. If not registered as a child process, it is considered to be a daemon. Return message in Msg.
Usage:actmod_join(ActRef)
Block until the active module instance ActRef terminates
Usage:
Compile all imported active modules (only for libexec)
Usage:actmod_compile(DMod)
Ensure that the (imported) active module DMod is compiled (only for libexec)
Usage:actmod_check_bin(DMod)
Check a binary for the (imported) active module DMod exists (only for libexec)