Esempio n. 1
0
///
//  Check if default interrupt handler of Ctrl-C or SIGTERM was called.
//  Does not work if ZSYS_SIGHANDLER is false and code does not call
//  set interrupted on signal.
bool QmlZsysAttached::isInterrupted () {
    return zsys_is_interrupted ();
};
Esempio n. 2
0
JNIEXPORT jboolean JNICALL
Java_org_zeromq_czmq_Zsys__1_1isInterrupted (JNIEnv *env, jclass c)
{
    jboolean is_interrupted_ = (jboolean) zsys_is_interrupted ();
    return is_interrupted_;
}
Esempio n. 3
0
///
//  Check if default interrupt handler of Ctrl-C or SIGTERM was called.
//  Does not work if ZSYS_SIGHANDLER is false and code does not call
//  set interrupted on signal.
bool QZsys::isInterrupted ()
{
    bool rv = zsys_is_interrupted ();
    return rv;
}