An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.4% on proxy.golang.org
Top 1.8% dependent packages on proxy.golang.org
Top 1.0% dependent repos on proxy.golang.org
Top 6.9% forks on proxy.golang.org
Top 1.7% docker downloads on proxy.golang.org

proxy.golang.org : github.com/vburenin/nsync

nsync package provides a set of primitives that are not provided by standard Go library. NamedMutex - a map of dynamically created mutexes by a referred name. OnceMutex - very similar to sync.Once, however, it is a mutex not a function wrapper. NamedOnceMutex - a map of dynamically created mutexes that can be acquired only once. However, once mutex unlocked it is removed from the map. So, next attempt to acquire this mutex will succeed. Semaphore - a semaphore primitive that can be acquired limited number of times. TryMutex - A mutex that provide ability to set a timeout to acquire a lock. ControlWaitGroup - a controlled goroutine executor that can limit the number concurrently running goroutines. Can help to solve a resource exhaustion problem. SyncFlag - an atomic flag that is wrapped by mutex. Mutex can be set/unset separately to prevent the flag from being set/unset.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/vburenin/nsync
License: MIT
Latest release: almost 9 years ago
First release: almost 9 years ago
Namespace: github.com/vburenin
Dependent packages: 9
Dependent repositories: 32
Stars: 50 on GitHub
Forks: 8 on GitHub
Docker dependents: 5
Docker downloads: 88
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...