FreeBSD Bugzilla – Attachment 28543 Details for
Bug 47943
python21 patch to increase the default thread stack size.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 598 bytes, created by
Alex Rodioukov
on 2003-02-05 09:10:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alex Rodioukov
Created:
2003-02-05 09:10:11 UTC
Size:
598 bytes
patch
obsolete
>diff -ruN Python/thread_pthread.h.orig Python/thread_pthread.h >--- Python/thread_pthread.h.orig Wed Feb 5 01:26:59 2003 >+++ Python/thread_pthread.h Wed Feb 5 01:28:32 2003 >@@ -128,6 +128,10 @@ > { > pthread_t th; > int success; >+ pthread_attr_t pta; >+ pthread_attr_init(&pta); >+ pthread_attr_setstacksize(&pta, (1<<17)); >+ > #ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED > pthread_attr_t attrs; > #endif >@@ -156,7 +160,7 @@ > #ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED > &attrs, > #else >- (pthread_attr_t*)NULL, >+ (pthread_attr_t*)&pta, > #endif > (void* (*)(void *))func, > (void *)arg
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47943
: 28543