summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:21:02 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:21:02 +0300
commitd2b9a38a8a24b7d8627e6a8b3fb005ac42f663c5 (patch)
treeae72d721d3a0a6615e0c3f10a1af662d3bc233b8 /docs
parentcb5824fc780c36db51361ab17e2849c1e1b30ccf (diff)
rpn: remove redundant mutex locking in RPN mode/prefix wrappers
RPN.GetMode/SetMode/GetPrefixMode/SetPrefixMode acquired r.mu before delegating to Operations methods that already acquire o.mu. Since Operations guards mode and prefixMode with its own RWMutex, the RPN-level locks were redundant double-locking on separate mutexes for the same data. Removed the r.mu locking from these four methods. Thread safety is preserved by Operations' internal mutex.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions