On Wed, Nov 26, 2014 at 03:46:42PM +0100, Kevin Wolf wrote:
> +    while (data.n > 0) {
> +        main_loop_wait(false);
> +    }

Why is this false (non-blocking)?  This is why you get the main loop
spun warning message.

Using true (blocking) seems like the right thing.  data.n changes as
part of the callback, which is invoked from the main loop.  There is no
need to be non-blocking.

Stefan

Attachment: pgpHYfykzjRn3.pgp
Description: PGP signature

Reply via email to