summaryrefslogtreecommitdiffstats
path: root/lib/qpthreads.h
diff options
context:
space:
mode:
authorChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-17 17:32:15 +0000
committerChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-17 17:32:15 +0000
commit20d52a027c1fa9072028c73ff08c7c2e1730e844 (patch)
tree41d9fe07176f0e5f24b28c78b9d0fecae81947f3 /lib/qpthreads.h
parentb53c5c3b32a421339bd8414b223d5bfeab950f8b (diff)
downloadquagga-20d52a027c1fa9072028c73ff08c7c2e1730e844.tar.bz2
quagga-20d52a027c1fa9072028c73ff08c7c2e1730e844.tar.xz
Add qpt_thread_join() to lib/qpthreads
Diffstat (limited to 'lib/qpthreads.h')
-rw-r--r--lib/qpthreads.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/qpthreads.h b/lib/qpthreads.h
index 361271ff..2fbbea9a 100644
--- a/lib/qpthreads.h
+++ b/lib/qpthreads.h
@@ -123,6 +123,9 @@ qpt_thread_attr_init(qpt_thread_attr_t* attr, enum qpt_attr_options opts,
extern qpt_thread_t /* FATAL error if !qpthreads_enabled */
qpt_thread_create(void* (*start)(void*), void* arg, qpt_thread_attr_t* attr) ;
+extern void* /* do nothing if !qpthreads_enabled */
+qpt_thread_join(qpt_thread_t thread_id) ;
+
/*==============================================================================
* qpthreads_enabled support -- NOT FOR PUBLIC CONSUMPTION !
*/