diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-12-29 01:27:17 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-01-08 12:45:43 +0100 |
commit | ae418f9469937b9a438a509bf359da9039cbee37 (patch) | |
tree | 0fbda5527df158c74ab9fb041413d3278bbf5754 /platform/linuxbsd/crash_handler_linuxbsd.cpp | |
parent | 9444d297ed0b1dbc7c05fa0bf2e06241335f5057 (diff) | |
download | redot-engine-ae418f9469937b9a438a509bf359da9039cbee37.tar.gz |
WorkerThreadPool: Avoid deadlocks when CommandQueueMT is involved
This commit lets CommandQueueMT play nicely with the WorkerThreadPool to avoid
non-progressable situations caused by an interdependence between both. While a
command queue is being flushed, it allows the WTP to release its lock while tasks
are being awaited so they can make progress in case they need in turn to post
to the command queue.
Diffstat (limited to 'platform/linuxbsd/crash_handler_linuxbsd.cpp')
0 files changed, 0 insertions, 0 deletions