mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-26 14:06:31 -05:00
General: Setup yuzu threads' microprofile, naming and registry.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <chrono>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -256,8 +257,9 @@ int main(int argc, char** argv) {
|
||||
system.Renderer().Rasterizer().LoadDiskResources();
|
||||
|
||||
system.Run();
|
||||
while (!finished)
|
||||
;
|
||||
while (!finished) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
system.Pause();
|
||||
|
||||
detached_tasks.WaitForAllTasks();
|
||||
|
Reference in New Issue
Block a user