Commit a3f9083b authored by unknown's avatar unknown

removed pthread_attr_setstacksize (not really nead but incompatible with some platforms)

parent 2eb27365
......@@ -250,14 +250,7 @@ int main(int argc, char **argv __attribute__ ((unused)))
error, errno);
exit(1);
}
#ifndef pthread_attr_setstacksize /* void return value */
if ((error= pthread_attr_setstacksize(&thr_attr, 65536L)))
{
fprintf(stderr, "Got error: %d from pthread_attr_setstacksize "
"(errno: %d)\n", error, errno);
exit(1);
}
#endif
#ifdef HAVE_THR_SETCONCURRENCY
VOID(thr_setconcurrency(2));
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment