c9c4feb129
* Remove a useless chunk from patch-ac Pointed out by wiz.
15 lines
483 B
Text
15 lines
483 B
Text
$NetBSD: patch-ac,v 1.2 2003/07/11 08:15:09 jtb Exp $
|
|
|
|
--- runtime/workers.c.orig
|
|
+++ runtime/workers.c
|
|
@@ -60,8 +60,10 @@
|
|
CILK_CHECK(tid, (NULL, "could not malloc tid\n"));
|
|
|
|
pthread_attr_init(&attr); /* initialize attr with default attributes */
|
|
+#ifdef PTHREAD_SCOPE_SYSTEM
|
|
pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM);
|
|
/* system-wide contention */
|
|
+#endif
|
|
|
|
for (i = 0; i < USE_PARAMETER(active_size); i++)
|
|
{
|