Asynchronous GeometryTile deletion (#2051)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
This commit is contained in:
@@ -42,6 +42,8 @@ public:
|
||||
|
||||
Milliseconds processRunnables();
|
||||
|
||||
std::size_t waitForEmpty(Milliseconds timeout);
|
||||
|
||||
ALooper* loop = nullptr;
|
||||
RunLoop* runLoop = nullptr;
|
||||
std::atomic<bool> running;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::unique_ptr<Thread<Alarm>> alarm;
|
||||
|
||||
std::mutex mutex;
|
||||
std::condition_variable cvEmpty;
|
||||
std::list<Runnable*> runnables;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user