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: Fri, 24 Sep 2010 08:30:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I'd rather turn the table and ask why is the call to
> xd_read_queued_messages made in gobble_input and not elsewhere?  Why
> are we mixing input from D-Bus with keyboard input?  And why in
> gobble_input?

D-Bus messages arrive asynchronously. xd_read_queued_messages() converts
them into special events, which are stored via kbd_buffer_store_event().

gobble_input() is used, because it is called at several places, for
instance in sit_for(), kbd_buffer_get_event(), get_input_pending(),
ns_select() - D-Bus messages shall be handled as soon as they arrive.

Best regards, Michael.



reply via email to

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