telepathy-logger: log-walker: Rework get_events

Debarshi Ray debarshir at kemper.freedesktop.org
Tue Jan 15 08:18:31 PST 2013


Module: telepathy-logger
Branch: master
Commit: d7302bd2c4ae43a962a293b53998bd03423adba4
URL:    http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=d7302bd2c4ae43a962a293b53998bd03423adba4

Author: Debarshi Ray <debarshir at freedesktop.org>
Date:   Fri Aug 31 00:01:54 2012 +0200

log-walker: Rework get_events

... so that only the caches are filled asynchronously and the rest of
the work does not involve the use of a separate thread. This is the
first step towards ensuring that we do not run the TplLogEventFilter
from a separate thread.

NB: This does not solve the actual problem. The TplLogEventFilter is
still invoked from a separate thread. However this refactoring lets us
move in that direction.

Fixes: https://bugs.freedesktop.org/54270

---

 telepathy-logger/log-walker.c |  245 +++++++++++++++++++++++++++++------------
 1 files changed, 174 insertions(+), 71 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-logger/diff/?id=d7302bd2c4ae43a962a293b53998bd03423adba4


More information about the telepathy-commits mailing list