mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
15 lines
488 B
Diff
15 lines
488 B
Diff
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()
|