common: remove setting stack side for pthreads
This commit is contained in:
parent
2da6db0199
commit
335f54aa09
|
|
@ -245,9 +245,6 @@ RunThreadsOn(int start, int workcnt, void *(func)(void *), void *arg)
|
|||
status = pthread_attr_init(&attrib);
|
||||
if (status)
|
||||
Error("pthread_attr_init failed");
|
||||
status = pthread_attr_setstacksize(&attrib, Q_STACKSIZE);
|
||||
if (status)
|
||||
Error("pthread_attr_setstacksize failed");
|
||||
|
||||
threads = malloc(sizeof(*threads) * numthreads);
|
||||
if (!threads)
|
||||
|
|
|
|||
Loading…
Reference in New Issue