[openFrameworks] A process watchdog timer for openFrameworks applications.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example_hangupRebootExample
example_hangupShutdownExample improve comments Oct 14, 2018
src
.gitignore
LICENSE
README.md

README.md

ofxWatchdog version 2

A process watchdog timer for openFrameworks applications.
You can watch your application's hang-up, illegal memory access,
illegal instruction, segmentation fault, zero devide, abort (uncaught C++ exception).
Then exit safely or reboot application.

If you are using openFrameworks 0.9.4 or older, please use version1_final tag version instead.



Only two functions to use:

o ofxWatchdog::boot(int msec, bool reboot, bool override, bool verbose)
o ofxWatchdog::trap(void)

Optionally you can use:

o ofxWatchdog::clear(void)



Development environment:
[version 2]
<NEW!> o MacOS X 10.14 + Xcode 10.0 + of_v20181009_osx_nightly

[version 1]
o MacOS X 10.12.6 + Xcode 9.0 + of 0.9.4 osx
o MacOS X 10.11.3 + Xcode 6.2 + of 0.9.2 osx
o MacOS X 10.10.3 + Xcode 6.3.1 + of 0.8.4 osx
o ubuntu linux 14.04 LTS + Code::Blocks 13.12 + of 0.8.4 linux 64
o MacOS X 10.10 + Xcode 6.1 + of 0.8.4 osx
o MacOS X 10.9.4 + Xcode 5.1.1 + of 0.8.3 osx
o MacOS X 10.8.5 + Xcode 5.0 + of 0.8.0 osx
o MacOS X 10.7.5 + Xcode 4.6.2 + of 0.8.0 osx