virtualx-engine/doc
Pedro J. Estébanez 9444d297ed WorkerThreadPool: Overhaul scheduling and synchronization
This commits rewrites the sync logic in a way that the
`use_system_threads_for_low_priority_tasks` setting, which was added due to
the lack of a cross-platform wait-for-multiple-objects functionality, can be
removed (it's as if it was effectively hardcoded to `false`).

With the new implementation, we have the best of both worlds: threads don't
have to poll, plus no bespoke threads are used.

In addition, regarding deadlock prevention, since not every possible case of
wait-deadlock could be avoided, this commits removes the current best-effort
avoidance mechanisms and keeps only a simple, pessimistic way of detection.

It turns out that the only current user of deadlock prevention, ResourceLoader,
works fine with it and so every possible situation in resource loading is now
properly handled, with no possibilities of deadlocking. There's a comment in
the code with further details.

Lastly, a potential for load tasks never being awaited/disposed is cleared.
2024-01-08 12:45:42 +01:00
..
classes WorkerThreadPool: Overhaul scheduling and synchronization 2024-01-08 12:45:42 +01:00
tools Fix missing heading in translated online class reference 2023-12-07 11:35:06 +08:00
translations i18n: Sync translations with Weblate 2023-12-11 22:10:21 +01:00
class.xsd
Doxyfile
Makefile Fix translation po file not found when make rst 2023-11-19 11:29:46 +08:00