Account for additional TLS on macOS/X
On GLIBC systems pbd_stack_size() adds __pthread_get_minstack, this is no available on mac systems, causing issues with some libraries used by plugins.
This commit is contained in:
parent
5f3626d46f
commit
fa495b7727
|
@ -48,7 +48,12 @@
|
|||
#include "pbd/libpbd_visibility.h"
|
||||
#include "pbd/signals.h"
|
||||
|
||||
#define PBD_RT_STACKSIZE_PROC 0x20000 // 128kB
|
||||
#ifdef __APPLE__
|
||||
# define PBD_RT_STACKSIZE_PROC 0x80000 // 512kB
|
||||
#else
|
||||
# define PBD_RT_STACKSIZE_PROC 0x20000 // 128kB
|
||||
#endif
|
||||
|
||||
#define PBD_RT_STACKSIZE_HELP 0x08000 // 32kB
|
||||
|
||||
/* these are relative to sched_get_priority_max()
|
||||
|
|
Loading…
Reference in New Issue
Block a user