summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/os.h
diff options
context:
space:
mode:
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.