mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
The default pthread stack size on Apple is too small for detect_ps2_game (#15235)
This commit is contained in:
parent
c400fa761c
commit
5eddcfee48
@ -229,6 +229,10 @@ sthread_t *sthread_create_with_priority(void (*thread_func)(void*), void *userda
|
||||
#if defined(VITA)
|
||||
pthread_attr_setstacksize(&thread_attr , 0x10000 );
|
||||
thread_attr_needed = true;
|
||||
#elif defined(__APPLE__)
|
||||
// default stack size on apple is 512kb; for ps2 disc scanning and other reasons, we'd like 2MB.
|
||||
pthread_attr_setstacksize(&thread_attr , 0x200000 );
|
||||
thread_attr_needed = true;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREAD_ATTR
|
||||
|
Loading…
x
Reference in New Issue
Block a user