You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you need to call this at the start of the program crossplat::threadpool::initialize_with_threads(num_threads);
and include this header <pplx/threadpool.h>
I found even the client side will start 40 threads, I am working on a ARM box environment, 40 threads are too much, is this correct behavior?
(gdb) bt
#0 __pthread_create_2_1 (newthread=0x7fffffd8f0, attr=0x0, start_routine=0x4bc448 <(anonymous namespace)::threadpool_impl::thread_start(void*)>,
arg=0x74ccd0 crossplat::threadpool::shared_instance()::s_shared) at pthread_create.c:505
#1 0x00000000004bcdec in crossplat::threadpool::shared_instance() ()
#2 0x00000000004bf148 in web::http::client::details::create_platform_final_pipeline_stage(web::uri&&, web::http::client::http_client_config&&) ()
#3 0x0000000000481b78 in web::http::client::http_client::http_client(web::uri const&, web::http::client::http_client_config const&) ()
#4 0x0000000000481ee0 in web::http::client::http_client::http_client(web::uri const&) ()
The text was updated successfully, but these errors were encountered: