GNU bug report logs -
#32426
27.0.50; Losing key bindings in threads
Previous Next
Full log
Message #31 received at 32426 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
Hi Eli,
>> Perhaps we need this also for other events, D-Bus and file notifications
>> come to mind.
>
> Possibly, but those seem like an easier nut to crack: AFAIU, each time
> we need to watch for D-Bus events, we register a file descriptor for
> that, and deregister it when we no longer need it, is that right? If
> so, we could easily make these descriptors watched only by the thread
> that registered the watch, the infrastructure for that already exists.
We need a file descriptor per D-Bus bus (system and session). But
applications register for (asynchronous) method calls and signals on the
buses. This could happen in several threads, so we need a mechanism how
to distribute incoming events to those threads.
But I would postpone this discussion until after we have resolved the
keyboard issue.
Best regards, Michael.
This bug report was last modified 6 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.