- API, Linux: increase timer thread stack size from 16K to 32K.

Apparently new use of MAXPATHLEN can cause overflow.
    Fixes #1191


svn path=/trunk/boinc/; revision=25781
This commit is contained in:
David Anderson 2012-06-21 19:13:49 +00:00
parent cc642f7947
commit 9f6fa7c1ad
2 changed files with 9 additions and 1 deletions

View File

@ -1294,7 +1294,7 @@ int start_timer_thread() {
#else
pthread_attr_t thread_attrs;
pthread_attr_init(&thread_attrs);
pthread_attr_setstacksize(&thread_attrs, 16384);
pthread_attr_setstacksize(&thread_attrs, 32768);
int retval = pthread_create(&timer_thread_handle, &thread_attrs, timer_thread, NULL);
if (retval) {
fprintf(stderr,

View File

@ -4455,3 +4455,11 @@ David 20 June 2012
html/inc/
stats_sites.inc
David 20 June 2012
- API, Linux: increase timer thread stack size from 16K to 32K.
Apparently new use of MAXPATHLEN can cause overflow.
Fixes #1191
api/
boinc_api.cpp