// that makes impossible to create more than ~500 threads.
// Android has been added to decrease testing time.
constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
+#elif defined(__ILP32__) && defined(__x86_64__)
+ // This is for x32 port https://wiki.debian.org/X32Port
+ constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
#else
constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4;
#endif
// that makes impossible to create more than ~500 threads.
// Android has been added to decrease testing time.
constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
+#elif defined(__ILP32__) && defined(__x86_64__)
+ // This is for x32 port https://wiki.debian.org/X32Port
+ constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
#else
constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4;
#endif