On 27 Dec 2001 17:03:00 -0000, [EMAIL PROTECTED] wrote: >aaron 01/12/27 09:03:00 > > Modified: include apr_thread_proc.h > include/arch/netware threadproc.h > include/arch/os2 threadproc.h > include/arch/unix threadproc.h > include/arch/win32 threadproc.h > threadproc/beos thread.c > threadproc/netware thread.c > threadproc/os2 thread.c > threadproc/unix thread.c > threadproc/win32 thread.c > test testthread.c > Log: > Convert apr_thread_exit(..., apr_status_t *retval) to > apr_thread_exit(..., apr_status_t retval) so that status values > can actually be returned back to apr_thread_join. > > This patch converts all platforms to store the returned status > in the platform-specific opaque thread structure.
Ok, but wouldn't it make sense for apr_thread_start_t to have a return type of apr_status_t too rather than void *? That way a return from the thread has the same type as apr_thread_exit(). -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | [EMAIL PROTECTED] | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------