[kaffe] CVS kaffe (robilad): Cross-compilation fix for pthreads

Kaffe CVS cvs-commits at kaffe.org
Sun Mar 13 14:21:32 PST 2005


PatchSet 5558 
Date: 2005/03/13 22:16:32
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Cross-compilation fix for pthreads

2005-03-13  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
(activeThreadsLock) Made static.

Members: 
	ChangeLog:1.3732->1.3733 
	kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.74->1.75 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3732 kaffe/ChangeLog:1.3733
--- kaffe/ChangeLog:1.3732	Sun Mar 13 22:08:48 2005
+++ kaffe/ChangeLog	Sun Mar 13 22:16:32 2005
@@ -1,4 +1,9 @@
 2005-03-13  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c: 
+	(activeThreadsLock) Made static.
+
+2005-03-13  Dalibor Topic  <robilad at kaffe.org>
 	
 	* config/arm/jit-arm.def:
 	Replace use of idealReg by KaffeVM_jitSetIdealReg.
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.74 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.75
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.74	Sat Mar 12 21:22:41 2005
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c	Sun Mar 13 22:16:34 2005
@@ -133,7 +133,7 @@
  * concurrently with some other threads. This prevents some bug that may appear 
  * when a thread die, is created or is being walked.
  */
-pthread_mutex_t		activeThreadsLock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t		activeThreadsLock = PTHREAD_MUTEX_INITIALIZER;
 
 /** This mutex lock protects calls into non-reentrant system services.
  */




More information about the kaffe mailing list