lumiera_/tests/vault
Ichthyostega 81cab9a675 Workforce: emergency brake
While in principle it would be possible (and desirable)
to control worker behaviour exclusively through the Work-Functor's return code,
in practice we must concede that Exceptions can always happen from situations
beyond our control. And while it is necessary for the WorkForce-dtor to
join and block (we can not just pull away the resources from running threads),
the same destructor (when called out of order) must somehow be able
at least to ask the running threads to terminate.

Especially for unit tests this becomes an obnoxious problem -- otherwise
each test failure would cause the test runner to hang.

Thus adding an emergency halt, and also improve setup for tests
with a convenience function to inject a work-function-λ
2023-09-08 02:48:30 +02:00
..
gear Workforce: emergency brake 2023-09-08 02:48:30 +02:00
mem Block-Flow: rationalise iterator usage 2023-07-13 18:35:10 +02:00
DIR_INFO Scheduler: investigate modes of operation 2023-07-03 18:40:37 +02:00
sync-classlock-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
sync-locking-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
sync-timedwait-test.cpp Global-Layer-Renaming: rearrange directories 2018-11-15 23:28:03 +01:00
sync-waiting-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
test-filedescriptors.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
test-filehandles.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
test-fileheader.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
test-filemmap.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
test-resourcecollector.c Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
test-threadpool.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
test-threads.c Global-Layer-Renaming: adjust header includes 2018-11-15 23:42:43 +01:00
thread-wrapper-join-test.cpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
thread-wrapper-self-recognition-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
thread-wrapper-test.cpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00