Platforms to show: All Mac Windows Linux Cross-Platform

SignalHandlerMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class System MBS Util Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
A signal handler for an unix signal.

You can use this class to catch signals like SIGALRM oder SIGQUIT.

See
http://en.wikipedia.org/wiki/Signal_(computing)

  • event Signal(n as Integer)
  • 2 methods
    • method Close
    • method SetEventHandler(signalIndex as Integer, CollectStackTrace as boolean = false) as boolean
  • 13 shared methods
  • 5 constants

Signal Handler Modes

Constant Value Description
kSignalDefault 1 The signal calls default handler.
kSignalEvent 3 The signal raises an event and sets the flag.
kSignalFlag 4 The signal sets a flag.
kSignalIgnored 2 The signal is ignored.
kSignalPrintBacktraceAndAbort 8 The signal is handled by the plugin. We print the backtrace and abort.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 24.1

The items on this page are in the following plugins: MBS Util Plugin.


ShellMBS   -   SKDownloadMBS


The biggest plugin in space...