touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #61204
[Bug 1397375] Re: [enhancement] need fd (file descriptor) and dispatch function
** Changed in: mir (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: mir (Ubuntu)
Status: New => Triaged
** Branch linked: lp:~raof/mir/provide-event-fd
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1397375
Title:
[enhancement] need fd (file descriptor) and dispatch function
Status in Mir:
In Progress
Status in mir package in Ubuntu:
Triaged
Bug description:
A long-standing request only ever made in person (I think) so let's
write it down:
We need a way to get a pollable object out of the mir client library
and a dispatch function to call so that we can integrate mir into the
mainloop of the toolkit that is trying to use it.
The thread-based delivery mechanism is inconvenient for most toolkits.
The fd would ideally be the mir socket itself, but it could also be an
eventfd that gets signalled from another thread. In the name of
efficiency we should try to cut out the extra threads entirely,
though.
The dispatch function would dispatch events to the registered
delegate, directly from the thread in which it was called.
Alternatively (or perhaps additionally), we could also use a function
to manually dequeue events.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1397375/+subscriptions