• Kirill Smelkov's avatar
    sync += RWMutex · 1ad3c2d5
    Kirill Smelkov authored
    Provide sync.RWMutex that can be useful for cases when there are
    multiple simultaneous readers and more seldom writer(s).
    
    This implements readers-writer mutex with preference for writers
    similarly to Go version.
    1ad3c2d5
sync.py 1.74 KB