Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In order to allow atomic reloads for passwd and group files this libraries uses mutexes to prevent lookups during reloads. In the current form this also means that concurrent lookups are not possible. This change replaces sync.Mutex with sync.RWMutex which allows concurrent read access. Signed-off-by: Christian Pointner <[email protected]>
- Loading branch information