mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
thread pool update + refactor
This commit is contained in:
parent
1549a02731
commit
90d0b54a69
17 changed files with 271 additions and 103 deletions
|
|
@ -58,6 +58,11 @@ public:
|
|||
tasks = {};
|
||||
}
|
||||
|
||||
bool isActive() const override {
|
||||
return !tasks.empty();
|
||||
}
|
||||
|
||||
void waitForEnd() override;
|
||||
void write();
|
||||
|
||||
uint getWorkRemaining() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue