Пример #1
0
///
//  Configure the scheduling priority of the ZMQ context thread pool.
//  Not available on Windows. See the sched_setscheduler man page or sched.h
//  for more information. If the environment variable ZSYS_THREAD_PRIORITY is
//  defined, that provides the default.
//  Note that this method is valid only before any socket is created.
void QmlZsysAttached::setThreadPriority (int priority) {
    zsys_set_thread_priority (priority);
};
Пример #2
0
JNIEXPORT void JNICALL
Java_org_zeromq_czmq_Zsys__1_1setThreadPriority (JNIEnv *env, jclass c, jint priority)
{
    zsys_set_thread_priority ((int) priority);
}
Пример #3
0
///
//  Configure the scheduling priority of the ZMQ context thread pool.
//  Not available on Windows. See the sched_setscheduler man page or sched.h
//  for more information. If the environment variable ZSYS_THREAD_PRIORITY is
//  defined, that provides the default.
//  Note that this method is valid only before any socket is created.
void QZsys::setThreadPriority (int priority)
{
    zsys_set_thread_priority (priority);

}