apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: [PATCH] try 2: fix apr_thread_exit() param type to be usable
Date Mon, 01 Oct 2001 20:30:46 GMT
On Mon, Oct 01, 2001 at 01:26:05PM -0700, Aaron Bannert wrote:
> For the record, here's a slightly modified version that OtherBill
> suggested (only affects win32). Please get back to me on this so I can
> proceed to fix httpd and then we can start using the thread return status
> from dead threads.

Dang, I forgot the test/testthread.c modifications:


Index: test/testthread.c
===================================================================
RCS file: /home/cvspublic/apr/test/testthread.c,v
retrieving revision 1.24
diff -u -r1.24 testthread.c
--- test/testthread.c	2001/09/02 03:41:17	1.24
+++ test/testthread.c	2001/10/01 20:28:20
@@ -102,7 +102,7 @@
         x++;
         apr_lock_release(thread_lock);
     }
-    apr_thread_exit(thd, &exit_ret_val);
+    apr_thread_exit(thd, exit_ret_val);
     return NULL;
 } 
 
@@ -117,7 +117,7 @@
         x++;
         apr_lock_release(thread_lock);
     }
-    apr_thread_exit(thd, &exit_ret_val);
+    apr_thread_exit(thd, exit_ret_val);
     return NULL;
 } 
 
@@ -132,7 +132,7 @@
         x++;
         apr_lock_release(thread_lock);
     }
-    apr_thread_exit(thd, &exit_ret_val);
+    apr_thread_exit(thd, exit_ret_val);
     return NULL;
 } 
 
@@ -147,7 +147,7 @@
         x++;
         apr_lock_release(thread_lock);
     }
-    apr_thread_exit(thd, &exit_ret_val);
+    apr_thread_exit(thd, exit_ret_val);
     return NULL;
 } 
 

Mime
View raw message