Changeset 4887 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Aug 13, 2014 9:14:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r4861 r4887 700 700 } 701 701 702 PJ_DEF(pj_status_t) pjsua_register_worker_thread(const char *name)703 {704 pj_thread_desc desc;705 pj_thread_t *thread;706 pj_status_t status;707 708 if (pjsua_var.thread_quit_flag)709 return PJ_EGONE;710 711 status = pj_thread_register(NULL, desc, &thread);712 if (status != PJ_SUCCESS)713 return status;714 715 if (name)716 PJ_LOG(4,(THIS_FILE, "Worker thread %s started", name));717 718 worker_thread(NULL);719 720 if (name)721 PJ_LOG(4,(THIS_FILE, "Worker thread %s stopped", name));722 723 return PJ_SUCCESS;724 }725 702 726 703 PJ_DEF(void) pjsua_stop_worker_threads(void)
Note: See TracChangeset
for help on using the changeset viewer.