summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/crash_handler_linuxbsd.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-12-29 01:27:17 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2024-01-08 12:45:43 +0100
commitae418f9469937b9a438a509bf359da9039cbee37 (patch)
tree0fbda5527df158c74ab9fb041413d3278bbf5754 /platform/linuxbsd/crash_handler_linuxbsd.cpp
parent9444d297ed0b1dbc7c05fa0bf2e06241335f5057 (diff)
downloadredot-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