From d202abd386756330eb3e6f1ef36a64ec3b431f5c Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 30 Apr 2025 22:14:40 -0500 Subject: [PATCH] fuse_loop.cpp --- libfuse/lib/fuse_loop.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libfuse/lib/fuse_loop.cpp b/libfuse/lib/fuse_loop.cpp index 03420404..e9854026 100644 --- a/libfuse/lib/fuse_loop.cpp +++ b/libfuse/lib/fuse_loop.cpp @@ -205,6 +205,7 @@ _calculate_thread_count(const int raw_thread_count_) else if(raw_thread_count_ < 0) { thread_count = (std::thread::hardware_concurrency() / -raw_thread_count_); + thread_count = std::min(1,thread_count); } else if(raw_thread_count_ > 0) {