[kaffe] CVS kaffe (guilhem): Brought back ignoreSignal on unix-jthreads.
Kaffe CVS
cvs-commits at kaffe.org
Thu Dec 30 03:20:37 PST 2004
PatchSet 5732
Date: 2004/12/30 10:35:39
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
Brought back ignoreSignal on unix-jthreads.
* kaffe/kaffevm/systems/unix-jthreads/jsignal.h,
kaffe/kaffevm/systems/unix-jthreads/signal.c:
Brought back ignoreSignal as a global symbol but renamed it to
KaffeJThread_ignoreSignal.
Members:
ChangeLog:1.3276->1.3277
kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.6->1.7
kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.128->1.129
kaffe/kaffevm/systems/unix-jthreads/signal.c:1.27->1.28
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3276 kaffe/ChangeLog:1.3277
--- kaffe/ChangeLog:1.3276 Wed Dec 29 16:27:39 2004
+++ kaffe/ChangeLog Thu Dec 30 10:35:39 2004
@@ -1,3 +1,10 @@
+2004-12-30 Guilhem Lavaux <guilhem at kaffe.org>
+
+ * kaffe/kaffevm/systems/unix-jthreads/jsignal.h,
+ kaffe/kaffevm/systems/unix-jthreads/signal.c:
+ Brought back ignoreSignal as a global symbol but renamed it to
+ KaffeJThread_ignoreSignal.
+
2004-12-29 Guilhem Lavaux <guilhem at kaffe.org>
* kaffe/kaffevm/gtypes.h: New intp type for signed integer that may
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.6 kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.7
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.6 Wed Dec 29 16:27:42 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h Thu Dec 30 10:35:42 2004
@@ -39,6 +39,7 @@
void registerTerminalSignal(int sig, void* handler);
+void KaffeJThread_ignoreSignal(int sig);
void clearSignal(int sig);
void unblockSignal(int sig);
void unblockAsyncSignals(void);
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.128 kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.129
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.128 Sat Dec 25 19:09:17 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c Thu Dec 30 10:35:42 2004
@@ -1278,7 +1278,7 @@
* So we'll just ignore it and keep running. Note that this will
* detach us from the session too.
*/
- ignoreSignal(SIGHUP);
+ KaffeJThread_ignoreSignal(SIGHUP);
KaffeSetDefaultAllocator(thread_static_allocator, thread_static_free, thread_reallocator);
queuePool = KaffeCreatePool();
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.27 kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.28
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.27 Wed Dec 29 11:28:32 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c Thu Dec 30 10:35:42 2004
@@ -38,7 +38,6 @@
static void nullException(SIGNAL_ARGS(sig, sc));
static void floatingException(EXCEPTIONPROTO);
-static void ignoreSignal(int sig);
static exchandler_t nullHandler;
static exchandler_t floatingHandler;
@@ -68,7 +67,7 @@
registerSyncSignalHandler(SIGFPE, floatingException);
#endif
#if defined(SIGPIPE)
- ignoreSignal(SIGPIPE);
+ KaffeJThread_ignoreSignal(SIGPIPE);
#endif
}
}
@@ -281,8 +280,8 @@
/*
* Ignore the given signal.
*/
-static void
-ignoreSignal(int sig)
+void
+KaffeJThread_ignoreSignal(int sig)
{
registerSignalHandler(sig, SIG_IGN, false);
}
More information about the kaffe
mailing list