summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-08-13 09:14:53 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-08-13 09:14:53 +0000
commit6b29b9ed22824ecb99eafa500b22db20cc9f3d75 (patch)
tree02cd3df1c06d03743c9f60b98c527a0298f769ae /pjsip/include/pjsua-lib
parent23260129fc5c82f99ee7d7c35c787052b9eff261 (diff)
Close #1779: Add APIs for external/native thread registration to pjsua2: Endpoint::libRegisterThread() & Endpoint::libIsThreadRegistered().
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4887 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 8e0e3156..a86644c5 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1883,25 +1883,12 @@ PJ_DECL(int) pjsua_handle_events(unsigned msec_timeout);
/**
- * Register a thread to poll for events. This function should be
- * called by an external worker thread, and it will block polling
- * for events until the library is destroyed.
- *
- * @return PJ_SUCCESS if things are working correctly
- * or an error polling cannot be done for some
- * reason.
- */
-PJ_DECL(pj_status_t) pjsua_register_worker_thread(const char *name);
-
-
-/**
* Signal all worker threads to quit. This will only wait until internal
- * threads are done. For external threads, application must perform
- * its own waiting for the external threads to quit from
- * pjsua_register_worker_thread() function.
+ * threads are done.
*/
PJ_DECL(void) pjsua_stop_worker_threads(void);
+
/**
* Create memory pool to be used by the application. Once application
* finished using the pool, it must be released with pj_pool_release().