Beispiel #1
0
///
//  Get socket option `thread_safe`.
//  Available from libzmq 4.2.0.    
int QZsock::threadSafe ()
{
    int rv = zsock_thread_safe (self);
    return rv;
}
Beispiel #2
0
JNIEXPORT jint JNICALL
Java_org_zeromq_czmq_Zsock__1_1threadSafe (JNIEnv *env, jclass c, jlong self)
{
    jint thread_safe_ = (jint) zsock_thread_safe ((zsock_t *) (intptr_t) self);
    return thread_safe_;
}