diff options
| author | Dan Engelbrecht <[email protected]> | 2022-03-22 18:30:28 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-03-31 11:29:17 +0200 |
| commit | 8a33fbec64f0b9e95feea3a677a56fc34dfbd7c0 (patch) | |
| tree | 8cf18d57849b7c598722b21f64514cc6e8f4a4fc /zencore/include | |
| parent | WIP (diff) | |
| download | zen-8a33fbec64f0b9e95feea3a677a56fc34dfbd7c0.tar.xz zen-8a33fbec64f0b9e95feea3a677a56fc34dfbd7c0.zip | |
Add Flush to workthreadpool
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/workthreadpool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/workthreadpool.h b/zencore/include/zencore/workthreadpool.h index 0ddc65298..85054fca7 100644 --- a/zencore/include/zencore/workthreadpool.h +++ b/zencore/include/zencore/workthreadpool.h @@ -36,6 +36,7 @@ public: void ScheduleWork(Ref<IWork> Work); void ScheduleWork(std::function<void()>&& Work); + void Flush(); [[nodiscard]] size_t PendingWork() const; private: |