lumiera_/tests/vault/gear
Ichthyostega 5c6354882d Scheduler: solve problem with transport from entrance-queue
The test case "scheduleRenderJob()" -- while deliberately operated
quite artificially with a disabled WorkForce (so the test can check
the contents in the queue and then progress manually -- led to discovery
of an open gap in the logic: in the (rare) case that a new task is
added ''from the outside'' without acquiring the Grooming-Token, then
the new task could sit in the entrace queue, in worst case for 50ms,
until the next Scheduler-»Tick« routinely sweeps this queue. Under
normal conditions however, each dispatch of another activity will
also sweep the entrance queue, yet if there happens to be no other
task right now, a new task could be stuck.

Thinking through this problem also helped to amend some aspects
of Grooming-Token handling and clarified the role of the API-functions.
2023-11-08 20:58:32 +01:00
..
activity-detector-test.cpp Scheduler: access invocation time for test 2023-10-25 23:40:47 +02:00
activity-detector.hpp Scheduler: wrap-up and comment test cases thus far 2023-10-27 03:37:24 +02:00
block-flow-test.cpp Library: switch Microbenchmark setup to C++17 threads 2023-09-24 18:07:28 +02:00
scheduler-activity-test.cpp Scheduler: rectify λ-post API 2023-10-23 01:48:46 +02:00
scheduler-commutator-test.cpp Scheduler: integrate sanity check on timings 2023-11-07 18:37:20 +01:00
scheduler-invocation-test.cpp Scheduler: reconciled into clearer design 2023-11-04 04:49:13 +01:00
scheduler-load-control-test.cpp Scheduler: allow to manipulate nominal full capacity 2023-11-07 16:12:56 +01:00
scheduler-service-test.cpp Scheduler: solve problem with transport from entrance-queue 2023-11-08 20:58:32 +01:00
scheduler-stress-test.cpp Scheduler: plan for integration 2023-10-20 00:59:50 +02:00
scheduler-usage-test.cpp Scheduler: plan for integration 2023-10-20 00:59:50 +02:00
work-force-test.cpp Scheduler: rectify λ-post API 2023-10-23 01:48:46 +02:00