Mir

Code review comment for lp:~vanvugt/mir/remove-callbacks-mir_connect

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

An alternate solution, as discussed in bug 1112195 is to simply add the synchronous functions that most people will want to use:
  connection = mir_connect(...);
Though that suggests the existing functions like "mir_connect" change to something like "mir_async_connect" or "mir_background_connect".

The approach proposed here however is a nice middle-ground, not requiring duplicate functions to elegantly support both asynchronous and synchronous operation.

« Back to merge proposal