← Back to team overview

touch-packages team mailing list archive

[Bug 1397375] Re: need fd (file descriptor) and dispatch function

 

** Changed in: mir
    Milestone: 0.12.0 => 0.13.0

-- 
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:
  need fd (file descriptor) and dispatch function

Status in Mir:
  In Progress
Status in mir package in Ubuntu:
  New

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