[kaffe] CVS kaffe (dalibor): Fixed compilation problem with pthreads on sparc-opnbsd
Kaffe CVS
cvs-commits at kaffe.org
Mon Mar 22 04:24:02 PST 2004
PatchSet 4556
Date: 2004/03/22 12:03:22
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed compilation problem with pthreads on sparc-opnbsd
2004-03-22 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
(MAX_SYS_THREADS): Define it using POSIX_THREADS_MAX.
Fixes a compilation error on sparc-openbsd.
Reported by: Riccardo Mottola <zuse at libero.it>
Members:
ChangeLog:1.2134->1.2135
kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.21->1.22
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2134 kaffe/ChangeLog:1.2135
--- kaffe/ChangeLog:1.2134 Mon Mar 22 11:24:05 2004
+++ kaffe/ChangeLog Mon Mar 22 12:03:22 2004
@@ -1,5 +1,13 @@
2004-03-22 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
+ (MAX_SYS_THREADS): Define it using POSIX_THREADS_MAX.
+ Fixes a compilation error on sparc-openbsd.
+
+ Reported by: Riccardo Mottola <zuse at libero.it>
+
+2004-03-22 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/gnu/inet/ftp/ActiveModeDTP.java,
libraries/javalib/gnu/inet/ftp/BlockInputStream.java,
libraries/javalib/gnu/inet/ftp/BlockOutputStream.java,
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.21 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.22
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.21 Mon Mar 15 17:22:29 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c Mon Mar 22 12:03:23 2004
@@ -58,7 +58,7 @@
#define SCHEDULE_POLICY SCHED_OTHER
/* our upper create limit, to ensure we don't blow the system */
-#define MAX_SYS_THREADS _POSIX_THREAD_THREADS_MAX - 1
+#define MAX_SYS_THREADS PTHREAD_THREADS_MAX - 1
/* our upper limit for cached threads (0 = no caching at all) */
#define MAX_CACHED_THREADS MAX_SYS_THREADS - 3
More information about the kaffe
mailing list