about summary refs log tree commit diff
path: root/config.go
diff options
context:
space:
mode:
authorTerin Stock <terinjokes@gmail.com>2023-03-02 00:05:26 +0100
committerTerin Stock <terinjokes@gmail.com>2023-03-02 00:05:26 +0100
commitd6baaceefab0a307b1d7ae8f8bf92cfa5e03a854 (patch)
tree856ef72e83f4c30e5c1a18a2c8ebb596d24f60e8 /config.go
parentf4ce6ac1be7b2817a8e02fc0e517d93ff9890d2e (diff)
fix: manager started race HEAD trunk
It's possible for there to be a data race where `Add` checks if the
manager has started, then proceeds to append to the runnables slice, at
the same time that `Start` is progressing towards starting the manager.
This results in a data race with the runnables slice.

This changeset modifies the manager to use a more traditional locking approach.
Diffstat (limited to 'config.go')
0 files changed, 0 insertions, 0 deletions