Hi Nicolas, list,

The latest CVS Neko doesn't build out of the box, apparently due to a
partially applied change. The enclosed trivial patch makes it build
for me, but isn't tested, and may or may not be what you intended.

Thanks,
Dan.
Index: libs/std/thread.c
===================================================================
RCS file: /cvsroot/neko/libs/std/thread.c,v
retrieving revision 1.23
diff -u -r1.23 thread.c
--- libs/std/thread.c	20 Apr 2007 14:05:48 -0000	1.23
+++ libs/std/thread.c	22 Apr 2007 02:19:18 -0000
@@ -219,7 +219,7 @@
 			WaitForSingleObject(t->wait,INFINITE);
 			LOCK(t->lock);
 #			else
-			pthread_cond_wait(&t->cond,&t->lock);
+			pthread_cond_wait(&t->wait,&t->lock);
 #			endif
 		} else {
 			UNLOCK(t->lock);
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to