summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstatenums.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-10-06 12:54:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-10-06 12:54:29 -0400
commitcf70766b4504f7ee745822926c526ed9c86c9339 (patch)
treeee243808c75413d3d564cc9636d55783756f640f /indra/llcommon/llstatenums.h
parent955b967623983cb50ba09f7b82e5f01f2c6bcebb (diff)
SL-16024: Fix ThreadSafeSchedule::tryPopFor(), tryPopUntil().
ThreadSafeSchedule::tryPopUntil() (and therefore tryPopFor()) was simply delegating to LLThreadSafeQueue::tryPopUntil(), with an adjusted timeout since we want to wake up as soon as the head item, if any, becomes ready. But then we have to loop back to retry the pop to actually deal with that head item. In addition, ThreadSafeSchedule::popWithTime() was spinning rather than properly blocking on a timed condition variable. Fixed.
Diffstat (limited to 'indra/llcommon/llstatenums.h')
0 files changed, 0 insertions, 0 deletions