coder / coder/nfy

Support mutex

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Some commands (most notable `apt-get` ones) cannot be ran in parallel. We should add support for a recipe `mutex: ` param that's implemented as a `map[string]sync.Mutex`.

In the future, we can have a `read_mutex` parameter, and make the map value `sync.RWMutex`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.