Ignore:
Timestamp:
Dec 12, 2017 7:44:09 AM (6 years ago)
Author:
nanang
Message:

Fixed #2074: Introduced compile time setting PJSUA_SEPARATE_WORKER_FOR_TIMER to allow separate polling for timer events and network events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r5686 r5712  
    349349#ifndef PJSUA_VID_REQ_KEYFRAME_INTERVAL 
    350350#   define PJSUA_VID_REQ_KEYFRAME_INTERVAL      3000 
     351#endif 
     352 
     353 
     354/** 
     355 * Specify whether timer heap events will be polled by a separate worker 
     356 * thread. If this is set/enabled, a worker thread will be dedicated to 
     357 * poll timer heap events only, and the rest worker thread(s) will poll 
     358 * ioqueue/network events only. 
     359 * 
     360 * Note that if worker thread count setting (i.e: pjsua_config.thread_cnt) 
     361 * is set to zero, this setting will be ignored. 
     362 * 
     363 * Default: 0 (disabled) 
     364 */ 
     365#ifndef PJSUA_SEPARATE_WORKER_FOR_TIMER 
     366#   define PJSUA_SEPARATE_WORKER_FOR_TIMER      0 
    351367#endif 
    352368 
Note: See TracChangeset for help on using the changeset viewer.