Skip to content

Commit 1c434a9

Browse files
committed
Increase NonRecursiveRWLock thread limit from 255 to 1023.
1 parent 9a814da commit 1c434a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/rwlock.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class NonRecursiveRWLock
2020
{
2121
private:
2222
BEGIN_BITFIELD_TYPE(Status, uint32_t)
23-
ADD_BITFIELD_MEMBER(readers, 0, 8)
24-
ADD_BITFIELD_MEMBER(waitToRead, 8, 8)
25-
ADD_BITFIELD_MEMBER(writers, 16, 8)
23+
ADD_BITFIELD_MEMBER(readers, 0, 10)
24+
ADD_BITFIELD_MEMBER(waitToRead, 10, 10)
25+
ADD_BITFIELD_MEMBER(writers, 20, 10)
2626
END_BITFIELD_TYPE()
2727

2828
std::atomic<uint32_t> m_status;

0 commit comments

Comments
 (0)