diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-09-16 18:03:36 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-09-16 18:03:36 +0200 |
commit | 26409607063bfbd6f1a5a5810c4b244c9df64d6b (patch) | |
tree | f451cb56a3e76fc8e6eacf77752ed1cc5cd806b7 /modules/gdscript/gdscript_disassembler.cpp | |
parent | e2fd88ed918a6dd67379a278105207963495941d (diff) | |
download | redot-engine-26409607063bfbd6f1a5a5810c4b244c9df64d6b.tar.gz |
WorkerThreadPool: Improve logic
- The main thread function and the collaborative wait functions have a much more similar structure than earlier, which yields (pun intended) better maintainability.
- Also, there are not assertions anymore about the reason for ending a wait being valid, because spurious awakes can happen and so the assert would fail without that indicating an issue.
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions