Skip to content

Commit

Permalink
Increase NonRecursiveRWLock thread limit from 255 to 1023.
Browse files Browse the repository at this point in the history
  • Loading branch information
preshing committed Mar 17, 2015
1 parent 9a814da commit 1c434a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/rwlock.h
Expand Up @@ -20,9 +20,9 @@ class NonRecursiveRWLock
{
private:
BEGIN_BITFIELD_TYPE(Status, uint32_t)
ADD_BITFIELD_MEMBER(readers, 0, 8)
ADD_BITFIELD_MEMBER(waitToRead, 8, 8)
ADD_BITFIELD_MEMBER(writers, 16, 8)
ADD_BITFIELD_MEMBER(readers, 0, 10)
ADD_BITFIELD_MEMBER(waitToRead, 10, 10)
ADD_BITFIELD_MEMBER(writers, 20, 10)
END_BITFIELD_TYPE()

std::atomic<uint32_t> m_status;
Expand Down

0 comments on commit 1c434a9

Please sign in to comment.