"DBus Embedded" - a clean break
Lennart Poettering
mzqohf at 0pointer.de
Fri Jan 21 08:42:47 PST 2011
On Fri, 21.01.11 13:16, Simon McVittie (simon.mcvittie at collabora.co.uk) wrote:
>
> On Thu, 20 Jan 2011 at 12:50:40 -0500, Havoc Pennington wrote:
> > On Thu, Jan 20, 2011 at 8:14 AM, Simon McVittie
> > <simon.mcvittie at collabora.co.uk> wrote:
> > > One performance-related thing that I'm working towards is trying out optional
> > > Linux epoll support for 1.5
> >
> > You might try using libev, which is very fast, and just one file
> > designed to be "sucked in" (copy-pasted) into other projects.
>
> I did look at using libev, but I was saddened to find that it uses
> floating-point time values, which isn't really going to fly on the platform
> I'm doing this for (Maemo/MeeGo on ARM).
>
> It also seems rather perverse to go from int milliseconds (libdbus) to
> floating-point (libev) back to int milliseconds (poll/epoll/select)...
(Just some nitpicking: neither epoll() nor select() actually take msec.)
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the dbus
mailing list