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 |
Notes:
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
- 12 shared methods
- shared method alarm(seconds as Integer)
- shared method ClearFlag(signalIndex as Integer)
- shared method ClearFlags
- shared method ClearStacktrace(signalIndex as Integer)
- shared method IsFlagSet(signalIndex as Integer) as boolean
- shared method QueryStacktrace(signalIndex as Integer, skip as Integer = 2) as string()
- shared method SendSignal(PID as Integer, Signal as Integer) as boolean
- shared method SendSignalToSelf(Signal as Integer) as boolean
- shared method SetDefaultHandler(signalIndex as Integer) as boolean
- shared method SetFlagHandler(signalIndex as Integer, CollectStackTrace as boolean = false) as boolean
- shared method SetIgnore(signalIndex as Integer) as boolean
- shared method SignalStatus(signalIndex as Integer) as Integer
- 4 constants
- const kSignalDefault = 1
- const kSignalEvent = 3
- const kSignalFlag = 4
- const kSignalIgnored = 2
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo / Real Studio Plugins, version 14.2pr5
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.0
- MBS Xojo / Real Studio Plugins, version 14.0pr3
- MBS REALbasic Plugins, version 10.6pr11
Xojo Developer Magazine
The items on this page are in the following plugins: MBS Util Plugin.
Feedback: Report problem or ask question.
