Hi,
While reading the code I noticed that the sync.RWMutex is only used with RLock, I could not find a corresponding Lock call.
RWMutex is doing states:
A RWMutex is a reader/writer mutual exclusion lock. The lock can be held by an arbitrary number of readers or a single writer.
The newEntry method is also not having a critical section, correct?
Am I missing something?
Hi,
While reading the code I noticed that the sync.RWMutex is only used with RLock, I could not find a corresponding Lock call.
RWMutex is doing states:
A RWMutex is a reader/writer mutual exclusion lock. The lock can be held by an arbitrary number of readers or a single writer.The newEntry method is also not having a critical section, correct?
Am I missing something?