mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-02 20:52:21 +00:00
reset stack-size to 4kB for skynet-tests
This commit is contained in:
@@ -85,7 +85,7 @@ int main() {
|
||||
barrier b{ hardware_concurrency( topo) };
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
std::vector< std::thread > threads;
|
||||
|
||||
@@ -51,7 +51,7 @@ int main() {
|
||||
try {
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
time_point_type start{ clock_type::now() };
|
||||
|
||||
@@ -55,7 +55,7 @@ int main() {
|
||||
try {
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
time_point_type start{ clock_type::now() };
|
||||
|
||||
@@ -78,7 +78,7 @@ int main() {
|
||||
for ( unsigned int i = 1; i < n; ++i) {
|
||||
threads.emplace_back( thread, i - 1, & b);
|
||||
};
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
b.wait();
|
||||
|
||||
@@ -82,7 +82,7 @@ int main() {
|
||||
for ( unsigned int i = 1; i < n; ++i) {
|
||||
threads.emplace_back( thread, i - 1, & b);
|
||||
};
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
b.wait();
|
||||
|
||||
@@ -83,7 +83,7 @@ int main() {
|
||||
barrier b{ thread_count };
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
std::vector< std::thread > threads;
|
||||
|
||||
@@ -77,7 +77,7 @@ int main() {
|
||||
barrier b{ thread_count };
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
std::vector< std::thread > threads;
|
||||
|
||||
@@ -81,7 +81,7 @@ int main() {
|
||||
barrier b{ thread_count };
|
||||
std::size_t size{ 1000000 };
|
||||
std::size_t div{ 10 };
|
||||
allocator_type salloc{ 2*allocator_type::traits_type::page_size() };
|
||||
allocator_type salloc{ allocator_type::traits_type::page_size() };
|
||||
std::uint64_t result{ 0 };
|
||||
channel_type rc{ 2 };
|
||||
std::vector< std::thread > threads;
|
||||
|
||||
Reference in New Issue
Block a user