1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Merge pull request #98385 from RandomShaper/thread_yield

Rationalize busy waits
This commit is contained in:
Rémi Verschelde
2024-12-20 23:56:39 +01:00
7 changed files with 30 additions and 22 deletions

View File

@@ -342,7 +342,7 @@ class EditorFileSystem : public Node {
struct ImportThreadData {
const ImportFile *reimport_files;
int reimport_from;
SafeNumeric<int> max_index;
Semaphore *imported_sem = nullptr;
};
void _reimport_thread(uint32_t p_index, ImportThreadData *p_import_data);