1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Thread pool: reset priority

This commit is contained in:
Nekotekina 2021-01-24 16:45:28 +03:00
parent 7c62574e59
commit 8480674708

View File

@ -2081,6 +2081,8 @@ thread_base::native_entry thread_base::finalize(u64 _self) noexcept
// Try to add self to thread pool
set_name("..pool");
thread_ctrl::set_native_priority(0);
static constexpr u64 s_stop_bit = 0x8000'0000'0000'0000ull;
static atomic_t<u64> s_pool_ctr = []