View | Details | Raw Unified | Return to bug 47943
Collapse All | Expand All

(-)Python/thread_pthread.h (-1 / +5 lines)
Lines 128-133 Link Here
128
{
128
{
129
	pthread_t th;
129
	pthread_t th;
130
	int success;
130
	int success;
131
    pthread_attr_t pta;
132
    pthread_attr_init(&pta);
133
    pthread_attr_setstacksize(&pta, (1<<17));
134
131
#ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED
135
#ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED
132
	pthread_attr_t attrs;
136
	pthread_attr_t attrs;
133
#endif
137
#endif
Lines 156-162 Link Here
156
#ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED
160
#ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED
157
				 &attrs,
161
				 &attrs,
158
#else
162
#else
159
				 (pthread_attr_t*)NULL,
163
				 (pthread_attr_t*)&pta,
160
#endif
164
#endif
161
				 (void* (*)(void *))func,
165
				 (void* (*)(void *))func,
162
				 (void *)arg
166
				 (void *)arg

Return to bug 47943