Browse Source

fuse_loop.cpp

Antonio SJ Musumeci 7 days ago
parent
commit
0c5788f1e9
  1. 5
      libfuse/lib/fuse_loop.cpp

5
libfuse/lib/fuse_loop.cpp

@ -199,8 +199,9 @@ _calculate_thread_count(const int raw_thread_count_)
if(raw_thread_count_ == 0)
{
thread_count = std::min(8,
std::thread::hardware_concurrency());
thread_count = std::thread::hardware_concurrency();
thread_count = std::min(8,thread_count);
}
else if(raw_thread_count_ < 0)
{

Loading…
Cancel
Save