blob: 51a3168ce1db969c3d65b819668c4c8cd65f0693 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Only in openttd-1.8.0-mod: src/saveload/.saveload.cpp.swp
--- openttd-1.8.0/src/thread/thread_pthread.cpp
+++ openttd-1.8.0-mod/src/thread/thread_pthread.cpp
@@ -38,7 +38,10 @@
self_destruct(self_destruct),
name(name)
{
- pthread_create(&this->thread, NULL, &stThreadProc, this);
+ pthread_attr_t attrs;
+ pthread_attr_init(&attrs);
+ pthread_attr_setstacksize(&attrs, 1048576);
+ pthread_create(&this->thread, &attrs, &stThreadProc, this);
}
/* virtual */ bool Exit()
|