You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #105138 from stuartcarnie/fix_hangs
Renderer: Reduce scope of mutex locks to prevent common deadlocks
This commit is contained in:
@@ -182,6 +182,7 @@ void WorkerThreadPool::_process_task(Task *p_task) {
|
||||
|
||||
void WorkerThreadPool::_thread_function(void *p_user) {
|
||||
ThreadData *thread_data = (ThreadData *)p_user;
|
||||
Thread::set_name(vformat("WorkerThread %d", thread_data->index));
|
||||
|
||||
while (true) {
|
||||
Task *task_to_process = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user