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

shared_mutex: increase max_readers to 16383

Standard requires at least 10000 for SharedMutex concept
This commit is contained in:
Nekotekina 2018-11-09 15:44:45 +03:00
parent 2fd384ae95
commit 6a30d5a6c1

View File

@ -9,7 +9,7 @@ class shared_mutex final
{
enum : u32
{
c_one = 1u << 7, // Fixed-point 1.0 value (one writer, 1.0/(max_readers+1) is 1)
c_one = 1u << 14, // Fixed-point 1.0 value (one writer, max_readers = c_one - 1)
c_sig = 1u << 30,
c_err = 1u << 31,
};