diff --git a/vendored/libfuse/lib/fuse_loop.cpp b/vendored/libfuse/lib/fuse_loop.cpp index 41c29abb..a3d0c95f 100644 --- a/vendored/libfuse/lib/fuse_loop.cpp +++ b/vendored/libfuse/lib/fuse_loop.cpp @@ -217,7 +217,7 @@ _calculate_thread_counts(int *read_thread_count_, { int nproc; - nproc = std::thread::hardware_concurrency(); + nproc = ::_nproc(); *read_thread_count_ = std::min(8,nproc); } else if((*read_thread_count_ == 0) && (*process_thread_count_ == 0))