--- idlc/source/idlcmain.cxx~	2006-09-17 10:14:44.000000000 +0200
+++ idlc/source/idlcmain.cxx	2007-03-06 16:36:09.488019869 +0100
@@ -42,12 +42,29 @@
 #include "sal/main.h"
 #endif
 
+extern "C" {
+#include <stdio.h>
+#include "sched.h"
+}
+
+void set_affinity(void)
+{
+    cpu_set_t mask;
+
+    CPU_ZERO(&mask);
+    CPU_SET(0, &mask);
+    if (sched_setaffinity(0, sizeof(cpu_set_t), &mask))
+        perror("sched_setaffinity");
+}
+
 using namespace ::rtl;
 
 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
 {
     Options options;
 
+    set_affinity();
+
     try 
     {
         if (!options.initOptions(argc, argv))
