Revision: 336
Author: bardtx
Date: 2006-06-05 20:55:57 -0700 (Mon, 05 Jun 2006)
ViewCVS: http://svn.sourceforge.net/cadcdev/?rev=336&view=rev
Log Message:
-----------
kos: Return value is optional in pthread_join
Modified Paths:
--------------
kos/kernel/libc/pthreads/pthread_thd.c
Modified: kos/kernel/libc/pthreads/pthread_thd.c
===================================================================
--- kos/kernel/libc/pthreads/pthread_thd.c 2006-06-06 03:52:50 UTC (rev 335)
+++ kos/kernel/libc/pthreads/pthread_thd.c 2006-06-06 03:55:57 UTC (rev 336)
@@ -25,9 +25,8 @@
int pthread_join(pthread_t thread, void **value_ptr) {
assert( thread );
- assert( value_ptr );
- // XXX Need to get return value.
+ // XXX Need to get return value if value_ptr != NULL.
if (thd_wait(thread) < 0)
return ESRCH;
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|