Git Product home page Git Product logo

ofxwatchdog's Introduction

ofxWatchdog

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.

Only one function to use:

o ofxWatchdog::watch(int msec, bool reboot, bool override, bool verbose)

Optionally you can use:

o ofxWatchdog::clear(void)



Major modification supporting of 0.9.2

NEW:
int main(){
    ofSetupOpenGL(1024,768, OF_WINDOW);

    ofxWatchdog::watch(3000, true, true, true);
    …
}

OLD:
int main(){
    ofxWatchdog::watch(3000, true, true, true);

    ofSetupOpenGL(1024,768, OF_WINDOW);
    …
}

Development environment:
o <NEW!> 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

ofxwatchdog's People

Contributors

frauzufall avatar ryokomy avatar toolbits avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.