• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.12 Handling signals
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Handling signals
          • on_signal/3
          • current_signal/3
          • prolog_alert_signal/2
          • Notes on signal handling
    • Packages
Availability:built-in
prolog_alert_signal(?Old, +New)
Query or set the signal used to unblock blocking system calls on Unix(-like) systems and process pending Prolog signals. The default is SIGUSR2. See also --sigalert. New can be a signal name or number. See on_signal/3 for how the Prolog signal name is defined. The Old argument is unified to the signal name if known and the number otherwise. Notably the value 0 (zero) indicates that the system does not use an alarm signal. On POSIX systems, this implies that system calls are not interrupted by thread_signal/2.

This predicate is only defined on systems where the alert signal mechanism is used.

ClioPatria (version V3.1.1-51-ga0b30a5)