Hi,
> +static void notified_complete_cb(AsyncNotifier *notifier, void *opaque)
> +{
There is no need to implement this as callback (unlike the notifier
_list_ completion callback). Just have a public notifier_complete()
function which async notifiers are supposed to call when done.
> void no
This patch defines 2 subtypes of notifiers, sync and async. Both of
them can be added to a notifiers list.
The patch adds optional complete_cb to the notifiers list. complete_cb is called
when all the async notifiers have completed.
Signed-off-by: Yonit Halperin
---
input.c |2 +-
migra