mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_loop.cpp
This commit is contained in:
parent
1932002355
commit
fbb29101a6
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