mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-09 14:58:37 -05:00
Remove comments in Downloadmanager
This commit is contained in:
@@ -274,16 +274,7 @@ void DownloadManager::downloadRequestFilesAsync(const std::string& identifier,
|
||||
|
||||
if (_useMultithreadedDownload) {
|
||||
std::thread t = std::thread(downloadFunction);
|
||||
|
||||
ghoul::thread::setPriority(t, ghoul::thread::ThreadPriority::Lowest);
|
||||
//#ifdef WIN32
|
||||
// std::thread::native_handle_type h = t.native_handle();
|
||||
// SetPriorityClass(h, IDLE_PRIORITY_CLASS);
|
||||
// SetThreadPriority(h, THREAD_PRIORITY_LOWEST);
|
||||
//#else
|
||||
// // TODO: Implement thread priority ---abock
|
||||
//#endif
|
||||
|
||||
t.detach();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user