Base for new system

This commit is contained in:
Anonymous275
2020-11-27 10:33:59 +02:00
parent 1579c8bc29
commit f858c462af
10 changed files with 57 additions and 149 deletions

View File

@@ -7,7 +7,7 @@
#include <thread>
#include <iostream>
[[noreturn]] void aa(){
[[noreturn]] void flush(){
while(true){
std::cout.flush();
std::this_thread::sleep_for(std::chrono::milliseconds(500));
@@ -16,8 +16,8 @@
int main(int argc, char* argv[]) {
#ifdef DEBUG
std::thread gb(aa);
gb.detach();
std::thread th(flush);
th.detach();
#endif
InitLauncher(argc,argv);
CheckDir(argc,argv);