Skip to content

Fix concurrent gauge access#2

Draft
ashwingopalsamy wants to merge 1 commit intodevelopmentfrom
codex/add-mutex-to-float64gauge-for-concurrency-safety
Draft

Fix concurrent gauge access#2
ashwingopalsamy wants to merge 1 commit intodevelopmentfrom
codex/add-mutex-to-float64gauge-for-concurrency-safety

Conversation

@ashwingopalsamy
Copy link

Summary

  • add RW mutex for float64Gauge
  • protect observations map with the mutex
  • add a test exercising concurrent SetGauge

Testing

  • GOTOOLCHAIN=local go test ./... (fails: go.work requires go >= 1.24.0)

https://chatgpt.com/codex/tasks/task_e_6843ca4f2b108329b7d91b0ded2b2df4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant