Hi all,
attached you will find a small doxygen patch for the
apr_os_thread_equal() function. I looked for the correct return value
and needed to consult the pthread_equal() man page... ;-)
Also the generated documentation on the APR web-site seems outdated. APR
1.4 was generated on Feb 2010, the trunk on Jul 2009!!!
Can someone generate a current snapshot? Is it possible to do this
automatically??
Regards,
Stefan
--- apr_portable.h.old 2011-05-01 10:42:14.000000000 +0200
+++ apr_portable.h 2011-05-01 10:43:15.000000000 +0200
@@ -321,7 +321,9 @@
* Compare two thread id's
* @param tid1 1st Thread ID to compare
* @param tid2 2nd Thread ID to compare
- */
+ * @return non zero if the two threads are equal
+ * @return zero if they are not
+ */
APR_DECLARE(int) apr_os_thread_equal(apr_os_thread_t tid1,
apr_os_thread_t tid2);