diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-09-27 14:57:03 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-09-27 14:57:03 -0400 |
commit | ec6487f3a70a5067f6d8fc601437160bb4fa753f (patch) | |
tree | 5d08728a7bff249b1e021ed2bba7a5d5d035cf7e /indra/llrender | |
parent | e1826d508c7bb5edc3917e090ad087b0b3a754cb (diff) |
DRTVWR-474: Make LLEventMailDrop pass all saved events to listener.
Previously, LLEventMailDrop would send only the first queued event to a
newly-connected listener. If you wanted to flush all queued events, you'd have
to "pump" the queue by repeatedly disconnecting and reconnecting -- with no
good way to know when you'd caught up.
The new behavior makes LLEventMailDrop resemble a multi-valued future: a
rendezvous between producer and consumer that, once connected, pushes values
rather than requiring them to be pulled (as with a simple queue) -- regardless
of the relative order in which post() and listen() are called.
Diffstat (limited to 'indra/llrender')
0 files changed, 0 insertions, 0 deletions