12.4.16 Catching Signals (Software Interrupts)
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Catching Signals (Software Interrupts)
            • PL_sigaction()
            • PL_signal()
            • PL_raise()
            • PL_handle_signals()
            • PL_get_signum_ex()
    • Packages
Availability:C-language interface function
int PL_raise(int sig)
Register sig for synchronous handling by Prolog. Synchronous signals are handled at the call-port or if foreign code calls PL_handle_signals(). See also thread_signal/2.