diff options
| author | Stefan Boberg <[email protected]> | 2023-05-16 21:33:15 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-16 21:33:15 +0200 |
| commit | 43af8814456f337b3a98a1dbda1c6dbe123293a2 (patch) | |
| tree | e8d9b7a5343fe2ed8b1af8d0add8a6c62a81b4f9 /src/zencore/include | |
| parent | implemented subtree copying (diff) | |
| download | zen-43af8814456f337b3a98a1dbda1c6dbe123293a2.tar.xz zen-43af8814456f337b3a98a1dbda1c6dbe123293a2.zip | |
added benchmark utility command `bench` (#298)
currently this implements a way (`zen bench --purge`) to purge the standby lists on Windows. This basically flushes the file system cache and is useful to put your system in a consistent state before running benchmarks
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/thread.h b/src/zencore/include/zencore/thread.h index 09c25996f..cc1a692a0 100644 --- a/src/zencore/include/zencore/thread.h +++ b/src/zencore/include/zencore/thread.h @@ -216,6 +216,7 @@ public: ZENCORE_API [[nodiscard]] bool IsRunning() const; ZENCORE_API [[nodiscard]] bool IsValid() const; ZENCORE_API bool Wait(int TimeoutMs = -1); + ZENCORE_API int WaitExitCode(); ZENCORE_API void Terminate(int ExitCode); ZENCORE_API void Reset(); [[nodiscard]] inline int Pid() const { return m_Pid; } |