- Timestamp:
- Nov 1, 2013 7:11:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/include/pjsua-lib/pjsua.h
r4592 r4639 252 252 253 253 /** Constant to identify invalid ID for all sorts of IDs. */ 254 #define PJSUA_INVALID_ID (-1) 254 enum pjsua_invalid_id_const_ 255 { 256 PJSUA_INVALID_ID = -1 257 }; 255 258 256 259 /** Disabled features temporarily for media reorganization */ … … 1881 1884 1882 1885 /** 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 /** 1898 * 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. 1902 */ 1903 PJ_DECL(void) pjsua_stop_worker_threads(void); 1904 1905 /** 1883 1906 * Create memory pool to be used by the application. Once application 1884 1907 * finished using the pool, it must be released with pj_pool_release().
Note: See TracChangeset
for help on using the changeset viewer.