microsoft / microsoft/azure-linux-dev-tools

progress events are not thread-safe

Open
#21 0 comments 0 reactions 1 assignee Claimed by @liunan-ms View on GitHub
bug type: tech debt
Dominant language
Go
Stars
18
Forks
27
Avg merge
4d 33m
Merged PRs (30d)
24

Description

`opctx.Event` is not thread safe and will trigger `go -race` detection.

We should either add a mutex to it (some extra overhead, but probably dominated by other parts of code), or make a thread safe version (extra code).

--
_Imported on behalf of @dmcilvaney_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.