summaryrefslogtreecommitdiff
path: root/indra/llcommon/llevents.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2016-04-26 11:56:25 -0700
committerRider Linden <rider@lindenlab.com>2016-04-26 11:56:25 -0700
commitdd2311b993d137c538ca57b4360669db6d7fbfa0 (patch)
treee7b3553da33dedfd436192e6ae555d884e58ce16 /indra/llcommon/llevents.h
parent4d9dd3271b1a015d9afd21767e579a4cd71982ed (diff)
MAINT-6336: Put the timeout upstream of the suspending pump and fire the timeout it. Also some cleanup on LLSD construction in vivox.
Diffstat (limited to 'indra/llcommon/llevents.h')
-rwxr-xr-xindra/llcommon/llevents.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/llevents.h b/indra/llcommon/llevents.h
index 6175329a9d..ba4fcd766e 100755
--- a/indra/llcommon/llevents.h
+++ b/indra/llcommon/llevents.h
@@ -616,6 +616,12 @@ public:
* a queue. Subsequent attaching listeners will receive stored events from the queue
* until a listener indicates that the event has been handled. In order to receive
* multiple events from a mail drop the listener must disconnect and reconnect.
+ *
+ * @NOTE: When using an LLEventMailDrop (or LLEventQueue) with a LLEventTimeout or
+ * LLEventFilter attaching the filter downstream using Timeout's constructor will
+ * cause the MailDrop to discharge any of it's stored events. The timeout should
+ * instead be connected upstream using its listen() method.
+ * See llcoro::suspendUntilEventOnWithTimeout() for an example.
*/
class LL_COMMON_API LLEventMailDrop : public LLEventStream
{