dogmatiq / cosyne

🚫 Context-aware synchronization primitives for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

🚫 Context-aware synchronization primitives for Go.

License:MIT License


Languages

Language:Go 99.4%Language:Makefile 0.6%