예제 #1
0
파일: QmlZproc.cpp 프로젝트: diorcety/czmq
///
//  Configure the number of I/O threads that ZeroMQ will use. A good  
//  rule of thumb is one thread per gigabit of traffic in or out. The 
//  default is 1, sufficient for most applications. If the environment
//  variable ZSYS_IO_THREADS is defined, that provides the default.   
//  Note that this method is valid only before any socket is created. 
void QmlZprocAttached::setIoThreads (size_t ioThreads) {
    zproc_set_io_threads (ioThreads);
};
JNIEXPORT void JNICALL
Java_org_zeromq_czmq_Zproc__1_1setIoThreads (JNIEnv *env, jclass c, jlong io_threads)
{
    zproc_set_io_threads ((size_t) io_threads);
}
예제 #3
0
파일: qzproc.cpp 프로젝트: evoskuil/czmq
///
//  Configure the number of I/O threads that ZeroMQ will use. A good
//  rule of thumb is one thread per gigabit of traffic in or out. The
//  default is 1, sufficient for most applications. If the environment
//  variable ZSYS_IO_THREADS is defined, that provides the default.
//  Note that this method is valid only before any socket is created.
void QZproc::setIoThreads (size_t ioThreads)
{
    zproc_set_io_threads (ioThreads);

}