Skip to content
Snippets Groups Projects
Commit 365c2215 authored by deuce's avatar deuce
Browse files

Stack size defaults to 128k on all BSDs

parent 8e285ef8
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,8 @@ ulong _beginthread(void( *start_address )( void * )
that thread resources are freed on exit() */
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
#ifdef __FreeBSD__
/* Default stack size in FreeBSD is too small for JS stuff */
#ifdef BSD
/* Default stack size in BSD is too small for JS stuff */
if(stack_size==0)
stack_size=1<<17;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment