mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
DiskCache: on Linux, block signals in Writer thread
Clean up thread flags while we're at it.
This commit is contained in:
1 parent
e17fdf9e90
commit
c0b24b2f2e
8 files changed
+46
-30
No files matched your search
@@ -381,7 +381,8 @@ namespace DiskCache {
|
||||
}
|
||||
|
||||
if (IsWritingDiskCache()) {
|
||||
Writer = fextl::make_unique<WorkQueueThread>(true);
|
||||
FEXCore::Threads::Flags WriterThreadFlags = {.LowPriority = true, .Internal = true};
|
||||
Writer = fextl::make_unique<WorkQueueThread>(WriterThreadFlags);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user