emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading D-Bus messages


From: Michael Albinus
Subject: Re: Reading D-Bus messages
Date: Wed, 12 Aug 2009 12:43:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> Usually we monitor file/socket descriptors in such cases.  D-Bus seems
> to have a mechanism DBusWatch for this purpose.

DBusWatch allows you to install handlers. IIUC, those handlers are
called only when dbus_watch_handle() has been applied. File descriptors
are not monitored in the sense, that a handler is called, when there are
incoming messages. This still means polling.

> Maybe what the GPM support is doing is helpful.

Thanks for the hint, I will check the code.

Best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]