Mercurial > projects > xwrited
comparison xwrited-unique.h @ 13:eb97cafe34e5
Try to prevent messages from being chopped up into multiple notifications
Read data into a buffer and only send a notification when 250ms have passed
since the first read instead of sending a notification immediately after each
read. This is an attempt to prevent messages from being chopped up into
multiple notifications. A (rather negligible) downside of this approach is
that multiple messages rapidly following each other are coalesced into a
single notification.
author | Guido Berhoerster <guido+xwrited@berhoerster.name> |
---|---|
date | Mon, 16 Mar 2015 23:54:20 +0100 |
parents | 6f325e8e27f3 |
children |
comparison
equal
deleted
inserted
replaced
12:6440ba6e3466 | 13:eb97cafe34e5 |
---|