You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by dr...@apache.org on 2001/07/07 08:34:58 UTC
cvs commit: apr/include apr_portable.h
dreid 01/07/06 23:34:58
Modified: include apr_portable.h
Log:
Add some documentation for the os_thread functions recently added
and fix the #ifdef's around them.
Revision Changes Path
1.60 +14 -3 apr/include/apr_portable.h
Index: apr_portable.h
===================================================================
RCS file: /home/cvs/apr/include/apr_portable.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- apr_portable.h 2001/07/02 01:39:07 1.59
+++ apr_portable.h 2001/07/07 06:34:58 1.60
@@ -409,12 +409,23 @@
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
}