Ignore:
Timestamp:
Aug 13, 2014 9:14:53 AM (10 years ago)
Author:
nanang
Message:

Close #1779: Add APIs for external/native thread registration to pjsua2: Endpoint::libRegisterThread() & Endpoint::libIsThreadRegistered().

File:
1 edited

Legend:

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

    r4860 r4887  
    18841884 
    18851885/** 
    1886  * Register a thread to poll for events. This function should be 
    1887  * called by an external worker thread, and it will block polling 
    1888  * for events until the library is destroyed. 
    1889  * 
    1890  * @return              PJ_SUCCESS if things are working correctly 
    1891  *                      or an error polling cannot be done for some 
    1892  *                      reason. 
    1893  */ 
    1894 PJ_DECL(pj_status_t) pjsua_register_worker_thread(const char *name); 
    1895  
    1896  
    1897 /** 
    18981886 * Signal all worker threads to quit. This will only wait until internal 
    1899  * threads are done. For external threads, application must perform 
    1900  * its own waiting for the external threads to quit from 
    1901  * pjsua_register_worker_thread() function. 
     1887 * threads are done. 
    19021888 */ 
    19031889PJ_DECL(void) pjsua_stop_worker_threads(void); 
     1890 
    19041891 
    19051892/** 
Note: See TracChangeset for help on using the changeset viewer.