mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
macOS: Increase thread stack size to 8 MiB
This commit is contained in:
parent
37f24d8c1c
commit
0d1c0e72a6
1 changed files with 1 additions and 1 deletions
|
@ -1908,7 +1908,7 @@ void thread_base::start()
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
pthread_attr_t stack_size_attr;
|
pthread_attr_t stack_size_attr;
|
||||||
pthread_attr_init(&stack_size_attr);
|
pthread_attr_init(&stack_size_attr);
|
||||||
pthread_attr_setstacksize(&stack_size_attr, 0x200000);
|
pthread_attr_setstacksize(&stack_size_attr, 0x800000);
|
||||||
ensure(pthread_create(reinterpret_cast<pthread_t*>(&m_thread.raw()), &stack_size_attr, entry_point, this) == 0);
|
ensure(pthread_create(reinterpret_cast<pthread_t*>(&m_thread.raw()), &stack_size_attr, entry_point, this) == 0);
|
||||||
#else
|
#else
|
||||||
ensure(pthread_create(reinterpret_cast<pthread_t*>(&m_thread.raw()), nullptr, entry_point, this) == 0);
|
ensure(pthread_create(reinterpret_cast<pthread_t*>(&m_thread.raw()), nullptr, entry_point, this) == 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue