6e89d6
diff -up wrk/src/threads/ATL_thread_start.c.wrk wrk/src/threads/ATL_thread_start.c
6e89d6
--- wrk/src/threads/ATL_thread_start.c.wrk	2013-09-23 13:46:51.881085276 +0200
6e89d6
+++ wrk/src/threads/ATL_thread_start.c	2013-09-24 16:13:59.021065418 +0200
6e89d6
@@ -101,9 +101,10 @@ int ATL_thread_start(ATL_thread_t *thr,
6e89d6
       ATL_assert(!pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED));
6e89d6
    pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); /* no chk, OK to fail */
6e89d6
    #ifdef ATL_PAFF_SETAFFNP
6e89d6
-      CPU_ZERO(&cpuset);
6e89d6
-      CPU_SET(affID, &cpuset);
6e89d6
-      ATL_assert(!pthread_attr_setaffinity_np(&attr, sizeof(cpuset), &cpuset));
6e89d6
+	//affinity crashes a machine with fewer processors than the builder
6e89d6
+      //CPU_ZERO(&cpuset);
6e89d6
+      //CPU_SET(affID, &cpuset);
6e89d6
+      //ATL_assert(!pthread_attr_setaffinity_np(&attr, sizeof(cpuset), &cpuset));
6e89d6
    #elif defined(ATL_PAFF_SETPROCNP)
6e89d6
       ATL_assert(!pthread_attr_setprocessor_np(&attr, (pthread_spu_t)affID,
6e89d6
                                                PTHREAD_BIND_FORCED_NP));