/// // 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 (); };
JNIEXPORT jboolean JNICALL Java_org_zeromq_czmq_Zsys__1_1isInterrupted (JNIEnv *env, jclass c) { jboolean is_interrupted_ = (jboolean) zsys_is_interrupted (); return is_interrupted_; }
/// // 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; }