1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Thread: Introduce a new Thread backend

This is a breaking change - see BREAKING-CHANGES.txt
This commit is contained in:
chroma 2022-10-18 11:47:18 +01:00
parent 621e14d092
commit d3cff375be
39 changed files with 849 additions and 603 deletions

View file

@ -64,7 +64,7 @@ FileBrowserComponent::FileBrowserComponent (int flags_,
}
// The thread must be started before the DirectoryContentsList attempts to scan any file
thread.startThread (4);
thread.startThread (Thread::Priority::low);
fileList.reset (new DirectoryContentsList (this, thread));
fileList->setDirectory (currentRoot, true, true);