sofa icon indicating copy to clipboard operation
sofa copied to clipboard

[Constraint.Lagrangian.Solver] Make problemId counter id atomic

Open fredroy opened this issue 1 year ago • 1 comments

Make problemId counter id atomic for thread-safety.

An other (better) solution could be to use local thread storage maybe ?


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

fredroy avatar Mar 12 '24 13:03 fredroy

[ci-build][with-all-tests]

fredroy avatar Mar 15 '24 08:03 fredroy