aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/workthreadpool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* implemented dynamic scaling support for WorkerThreadPoolStefan Boberg2026-02-231-20/+106
|
* made http.sys async worker thread pool configurable via the same option as ↵Stefan Boberg2026-02-201-26/+43
| | | | | | the main I/O pool this is also to gain control over threads to improve shutdown behaviour
* catch exception leaks in windows thread pool (#677)Dan Engelbrecht2025-12-051-4/+18
| | | | * catch exception leaks in windows thread pool * make non-assert exception an error, assert is kept as warning as it is already reported
* add EMode to WorkerTheadPool to avoid thread starvation (#492)Dan Engelbrecht2025-09-101-54/+97
| | | - Improvement: Add a new mode to worker thread pools to avoid starvation of workers which could cause long stalls due to other work begin queued up. UE-305498
* pick up existing cache (#299)Dan Engelbrecht2025-03-101-1/+1
| | | | | | - Improvement: Scavenge .zen temp folders for existing data (downloaded, decompressed or written) from previous failed run - Improvement: Faster abort during stream compression - Improvement: Try to move downloaded blobs with rename if possible avoiding an extra disk write - Improvement: Only clean temp folders on successful or cancelled build - keep it if download fails
* import oplog improvements (#54)Dan Engelbrecht2024-04-201-1/+17
| | | | | | | | | | | * report down/up transfer speed during progress * add disk buffering in http client * offload block decoding and chunk writing form network worker pool threads add block hash verification for blocks recevied at oplog import * separate download-latch from write-latch to get more accurate download speed * check headers when downloading with http client to go directly to file writing for large payloads * we must clear write callback even if we only provide it as an argument to the Download() call * make timeout optional in AddSponsorProcess * check return codes when creating windows threadpool
* improved assert (#37)Dan Engelbrecht2024-04-041-2/+14
| | | | - Improvement: Add file and line to ASSERT exceptions - Improvement: Catch call stack when throwing assert exceptions and log/output call stack at important places to provide more context to caller
* ensure we can build without trace (#619)Stefan Boberg2023-12-191-0/+4
| | | | `xmake config -zentrace=n` would previously not build cleanly
* global thread worker pools (#577)Dan Engelbrecht2023-11-291-0/+3
| | | - Improvement: Use two global worker thread pools instead of ad-hoc creation of worker pools
* close thread pool + parallel CasImpl::Initialize (#576)Dan Engelbrecht2023-11-281-0/+1
| | | | * close thread pool at destruction * parallell casimpl::initialize
* fix named event (#553)Dan Engelbrecht2023-11-171-2/+14
| | | * fix named event timout and test, fix blocking queue
* New GC implementation (#459)Dan Engelbrecht2023-10-301-3/+17
| | | - Feature: New garbage collection implementation, still in evaluation mode. Enabled by `--gc-v2` command line option
* all threads should be named (#304)Stefan Boberg2023-05-151-25/+196
| | | | | | | * added WorkerThreadPool naming, packaged_task support * name the http.sys thread pool service threads * added http.sys I/O threadpool naming * upstream cache I/O thread naming
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+83
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees