Skip to content

Commit

Permalink
Adapting stack overhead limit for gcc 4.9
Browse files Browse the repository at this point in the history
This patch adapts the compile time constant for the stack overhead for gcc 4.9.
This unbreaks the thread_stacksize test.
  • Loading branch information
sithhell committed Jan 12, 2018
1 parent 2bff68d commit 8bdf619
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hpx/config.hpp
Expand Up @@ -421,7 +421,11 @@
# if defined(HPX_INTEL_VERSION)
# define HPX_THREADS_STACK_OVERHEAD 0x2800
# else
# define HPX_THREADS_STACK_OVERHEAD 0x800
# if defined(HPX_GCC_VERSION) && HPX_GCC_VERSION >= 40900 && HPX_GCC_VERSION < 50000
# define HPX_THREADS_STACK_OVERHEAD 0x1000
# else
# define HPX_THREADS_STACK_OVERHEAD 0x800
# endif
# endif
# endif
#endif
Expand Down

0 comments on commit 8bdf619

Please sign in to comment.