JFJochReceiverPlots: Add clarification of thread safety (to be improved)
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 13m37s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 14m26s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 16m1s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 16m57s
Build Packages / build:rpm (rocky8) (push) Successful in 18m2s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 18m12s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 19m5s
Build Packages / build:rpm (rocky9) (push) Successful in 19m1s
Build Packages / Generate python client (push) Successful in 1m48s
Build Packages / Build documentation (push) Successful in 2m9s
Build Packages / Create release (push) Has been skipped
Build Packages / DIALS test (push) Failing after 6m30s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 10m13s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 9m37s
Build Packages / XDS test (durin plugin) (push) Failing after 7m40s
Build Packages / XDS test (neggia plugin) (push) Failing after 7m44s
Build Packages / XDS test (JFJoch plugin) (push) Failing after 8m5s
Build Packages / Unit tests (push) Has been cancelled

This commit is contained in:
2026-04-16 08:09:29 +02:00
parent fc292a4d71
commit be09b62f8f
+4
View File
@@ -62,6 +62,10 @@ class JFJochReceiverPlots {
StatusVector max_value;
StatusVector resolution_estimate;
// StatusVector objects are fully thread-safe (protected by internal mutex)
// It is OK to have concurrent access to StatusVector
// roi_m lock is needed to make sure that std::map<std::string, ROIStatus> is not mutable within critical section
// so no new elements added outside of a unique lock, but it is OK to modify ROIStatus under shared lock
struct ROIStatus {
StatusVector sum;
StatusVector max_count;