term
. Signal
is an integer, Unix signal name (e.g. SIGSTOP
) or the more
Prolog friendly variation one gets after removing SIG
and
downcase the result: stop
. On Windows systems, Signal
is ignored and the process is terminated using the TerminateProcess()
API. On Windows systems PID must be obtained from process_create/3,
while any PID is allowed on Unix systems.
- Compatibility
- SICStus does not accept the prolog friendly version. We choose to do so for compatibility with on_signal/3.