Esempio n. 1
0
///
//  Set hard limit on number of timers allowed. Setting more than a small  
//  number of timers (10-100) can have a dramatic impact on the performance
//  of the reactor. For high-volume cases, use ticket timers. If the hard  
//  limit is reached, the reactor stops creating new timers and logs an    
//  error.                                                                 
void QmlZloop::setMaxTimers (size_t maxTimers) {
    zloop_set_max_timers (self, maxTimers);
};
Esempio n. 2
0
JNIEXPORT void JNICALL
Java_org_zeromq_czmq_Zloop__1_1setMaxTimers (JNIEnv *env, jclass c, jlong self, jlong max_timers)
{
    zloop_set_max_timers ((zloop_t *) (intptr_t) self, (size_t) max_timers);
}