Skip to content

Latest commit

History

History
27 lines (19 loc) 路 1.2 KB

README.md

File metadata and controls

27 lines (19 loc) 路 1.2 KB

Cosyne

Cosyne provides context-aware synchronization primitives for Go.

Documentation Latest Version Build Status Code Coverage

This project is deprecated.

This repository will be archived once it is no longer used by other Dogmatiq projects.

Mutexes

Cosyne includes variants of sync.Mutex and RWMutex that accept a context.Context parameter, which allows support for cancellation and deadlines while acquiring locks.

The mutex implementations also support "try lock" semantics, allowing the user to acquire the lock only if doing so would not block.