aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/thread.cpp
Commit message (Collapse)AuthorAgeFilesLines
* make sure trace::ThreadRegister is inside ZEN_WITH_TRACEDan Engelbrecht2023-08-221-1/+2
|
* update vcpkg dependencies (#356)Dan Engelbrecht2023-08-111-0/+1
| | | | | | * bump vcpkg version * fmt lib 10 fixes * xmake dependencies (with linux workarounds) * changelog
* * Added Guid::FromStringStefan Boberg2023-06-301-0/+2
| | | | | | | * Added LoadCompactBinaryObject from file to compactbinaryfile.cpp/h * Added SaveCompactBinary(BinaryWriter& Ar, ...) functions * Added ZEN_PLATFORM_NAME define * Added SystemMetrics functionality to query system properties (see zencore/system.h)
* Fix IsProcessRunning on Windows (#335)zousar2023-06-271-1/+12
| | | | IsProcessRunning on Windows would only consider if we could get a handle to a process. It is possible to get a handle to a process even if it is terminated in Windows. To actually know if the process is running, a further call to GetExitCodeProces is required. Addressing this issue ensures that the ZenServerState::Sweep method doesn't keep terminated processes in the state table.
* added GetProcessIdStefan Boberg2023-06-161-0/+10
| | | | this enables mapping the result of a CreateProc call to an integer pid
* added benchmark utility command `bench` (#298)Stefan Boberg2023-05-161-0/+19
| | | 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
* SetCurrentThreadName now sets thread name in traceStefan Boberg2023-05-151-10/+14
|
* 247 complete httpclient implementation (#269)Stefan Boberg2023-05-051-4/+4
| | | | | | | | | * implemented HttpClient connection pooling * implemented missing verbs * added response helpers (CbObject/CbPackage/text) * added RwLock::WithSharedLock and RwLock::WithExclusiveLock * added some noexcept annotations on RwLock * removed CPR dependency in httpclient.h
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+1212
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees