mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-20 19:08:33 +00:00
* Use concurrent_flat_map to build a global cache rather than per thread. * Create global maintanence thread manager for clearing unused cache entries.
14 lines
200 B
C++
14 lines
200 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
#include <vector>
|
|
|
|
|
|
class MaintenanceThread
|
|
{
|
|
public:
|
|
static void setup();
|
|
static void stop();
|
|
static void push_job(const std::function<void(int)> &func);
|
|
};
|