diff options
author | David Reid <dreid@apache.org> | 2001-07-07 06:34:58 +0000 |
---|---|---|
committer | David Reid <dreid@apache.org> | 2001-07-07 06:34:58 +0000 |
commit | a5172cc905100933e2906f5f55b8d31e537ecff2 (patch) | |
tree | 0e39c3183a21db58b8ec0e5d6a94540187d64945 /include/apr_portable.h | |
parent | b537ccb8eeb4dece1f7672a8170c446d0b4394fc (diff) | |
download | apr-a5172cc905100933e2906f5f55b8d31e537ecff2.tar.gz |
Add some documentation for the os_thread functions recently added
and fix the #ifdef's around them.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61880 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_portable.h')
-rw-r--r-- | include/apr_portable.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/include/apr_portable.h b/include/apr_portable.h index 06ff8f360..0022ad7ee 100644 --- a/include/apr_portable.h +++ b/include/apr_portable.h @@ -409,12 +409,23 @@ APR_DECLARE(apr_status_t) apr_os_dso_handle_put(apr_dso_handle_t **dso, APR_DECLARE(apr_status_t) apr_os_dso_handle_get(apr_os_dso_handle_t *dso, apr_dso_handle_t *aprdso); +#endif /* APR_HAS_DSO */ + #if APR_HAS_THREADS +/** + * Get the thread ID + */ APR_DECLARE(apr_os_thread_t) apr_os_thread_current(void); -APR_DECLARE(int) apr_os_thread_equal(apr_os_thread_t tid1, apr_os_thread_t tid2); -#endif -#endif /* APR_HAS_DSO */ +/** + * Compare two thread id's + * @param tid1 1st Thread ID to compare + * @param tid2 2nd Thread ID to compare + */ +APR_DECLARE(int) apr_os_thread_equal(apr_os_thread_t tid1, + apr_os_thread_t tid2); +#endif /* APR_HAS_THREADS */ + #ifdef __cplusplus } |