[Kde-bindings] Fwd: KDE/kdebindings/csharp/kimono
Arno Rehn
arno at arnorehn.de
Wed Oct 29 15:29:09 UTC 2008
SVN commit 877453 by arnorehn:
* Don't let KIO::SlaveBase redirect SIGXCPU, since it's needed by
Mono's Boehm GC.
CCMAIL: kde-bindings at kde.prg
M +5 -0 ChangeLog
M +8 -0 src/kimonopluginfactory.cpp
--- trunk/KDE/kdebindings/csharp/kimono/ChangeLog #877452:877453
@@ -1,3 +1,8 @@
+2008-10-29 Arno Rehn <arno at arnorehn.de>
+
+ * Don't let KIO::SlaveBase redirect SIGXCPU, since it's needed by
+ Mono's Boehm GC.
+
2008-10-27 Arno Rehn <arno at arnorehn.de>
* Add support for Mono based kio slaves by extending kimonopluginfactory.
--- trunk/KDE/kdebindings/csharp/kimono/src/kimonopluginfactory.cpp
#877452:877453
@@ -27,6 +27,7 @@
#include <KPluginFactory>
#include <KIO/SlaveBase>
+#include <kde_file.h>
#include <kdebug.h>
#include <qyoto.h>
@@ -409,7 +410,14 @@
a[0] = mono_gchandle_get_target((guint32) (qint64) p);
a[1] = mono_gchandle_get_target((guint32) (qint64) ps);
a[2] = mono_gchandle_get_target((guint32) (qint64) as);
+#ifdef SIGXCPU
+ void(*before)(int) = KDE_signal(SIGXCPU, SIG_IGN);
+ KDE_signal(SIGXCPU, before);
+#endif
mono_runtime_invoke(ctor, object, a, NULL);
+#ifdef SIGXCPU
+ KDE_signal(SIGXCPU, before);
+#endif
(*FreeGCHandle)(p);
(*FreeGCHandle)(ps);
(*FreeGCHandle)(as);
More information about the Kde-bindings
mailing list