-
Notifications
You must be signed in to change notification settings - Fork 13
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
1 parent
bcdfb95
commit 3543765
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters