summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/os.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-11 19:25:17 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-11 19:25:17 +0000
commit7da238dc72999218826690a46fe6538470ecde1e (patch)
treebc92dbab9041993441fd8f2e15e80b941b424f61 /pjlib/include/pj/os.h
parent925c039b2866b794ca279630f3de50326052c829 (diff)
Added pj_thread_is_registered
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@674 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/os.h')
-rw-r--r--pjlib/include/pj/os.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h
index ad2b49b1..2720e7f7 100644
--- a/pjlib/include/pj/os.h
+++ b/pjlib/include/pj/os.h
@@ -130,6 +130,14 @@ PJ_DECL(pj_status_t) pj_thread_register ( const char *thread_name,
pj_thread_t **thread);
/**
+ * Check if this thread has been registered to PJLIB.
+ *
+ * @return Non-zero if it is registered.
+ */
+PJ_DECL(pj_status_t) pj_thread_is_registered(void);
+
+
+/**
* Get thread name.
*
* @param thread The thread handle.