summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcommonutils.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-11-24 12:56:48 -0500
committerNat Goodspeed <nat@lindenlab.com>2021-11-24 12:56:48 -0500
commit04ebc11a2d8a2e59abda5061e35e504fc30504d2 (patch)
tree34ebd440a04121028678162d7444f0655356d4ce /indra/llcommon/llcommonutils.h
parent0b066539fe68dc5750900c3452189645c40adb45 (diff)
SL-16094: Fix WorkQueue test for correct behavior of runFor().
Turns out that one of our WorkQueue integration tests was relying on the incorrect runFor() behavior that we just fixed, so the test broke. Now that runFor() doesn't wait around for work to be posted, use an explicit wait loop instead. To support this, add LLCond::get(functor), where functor must accept a const reference to the stored data. This new get() returns whatever the functor returns, allowing a caller to peek at the stored data. Also use universal references for all remaining LLCond functor arguments.
Diffstat (limited to 'indra/llcommon/llcommonutils.h')
0 files changed, 0 insertions, 0 deletions