diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-07-09 18:41:24 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-07-16 11:03:02 +0200 |
commit | 5b5cdf2414f4b9ac22eb6e4d01209c425ced4f81 (patch) | |
tree | c6833cb32463e937f48d2f036bddd2cd822443c4 /modules/gdscript/language_server/gdscript_language_protocol.h | |
parent | 10b543f8a770970cac36a404f192a7f2c246894f (diff) | |
download | redot-engine-5b5cdf2414f4b9ac22eb6e4d01209c425ced4f81.tar.gz |
Fixup recent changes to threading concerns
ResourceLoader:
- Fix invalid tokens being returned.
- Remove no longer written `ThreadLoadTask::dependent_path` and the code reading from it.
- Clear deadlock hazard by keeping the mutex unlocked during userland polling.
WorkerThreadPool:
- Include thread call queue override in the thread state reset set, which allows to simplify the code that handled that (imperfectly) in the ResourceLoader.
- Handle the mutex type correctly on entering an allowance zone.
CommandQueueMT:
- Handle the additional possibility of command buffer reallocation that mutex unlock allowance introduces.
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_protocol.h')
0 files changed, 0 insertions, 0 deletions