mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 21:30:11 -05:00
Auto-commit fuse_loop.cpp
This commit is contained in:
parent
e6c86aea16
commit
0d3b18305b
1 changed files with 7 additions and 0 deletions
|
|
@ -57,6 +57,13 @@ _print_error(int rv_)
|
|||
-rv_);
|
||||
}
|
||||
|
||||
static
|
||||
int
|
||||
_nproc()
|
||||
{
|
||||
return std::max(1,(int)std::thread::hardware_concurrency());
|
||||
}
|
||||
|
||||
struct AsyncWorker
|
||||
{
|
||||
fuse_session *_se;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue