summaryrefslogtreecommitdiff
path: root/indra/llwindow/llappdelegate-objc.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-10-07 15:32:19 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-10-07 15:32:19 -0400
commit6e06d1db6045df2e4961243f379c4d7695a8190d (patch)
tree6586ce499d85b94ac3238238108d4917e789cc9d /indra/llwindow/llappdelegate-objc.h
parentb554c9eaf45c83500e6b65e295cc507b9a3d537b (diff)
SL-16024: Make LLCond::get() lock and return by value.
Its previous behavior, returning a const reference without locking, was wrong: it could return a reference to an object in an inconsistent state if it was concurrently being modified on another thread. Locking the mutex and returning a copy by value is the correct behavior.
Diffstat (limited to 'indra/llwindow/llappdelegate-objc.h')
0 files changed, 0 insertions, 0 deletions