client: add busy state

When the client is busy, no methods are allowed on it until it
becomes not busy again. We can use this to wait until an async operation
completes (access checks) and to serialize the requests from the client.
This commit is contained in:
Wim Taymans 2017-06-09 18:22:57 +02:00
parent b5e60ad02a
commit 2c1245f8ef
8 changed files with 86 additions and 66 deletions

View file

@ -173,8 +173,6 @@ struct pw_context {
/** Signal emited when the context is destroyed */
PW_SIGNAL(destroy_signal, (struct pw_listener *listener, struct pw_context *context));
PW_SIGNAL(sync_done, (struct pw_listener *listener, struct pw_context *context, int seq));
};
struct pw_context *