Hi Daniel,

<snip>

> +
> +     g_queue_push_tail(service->ipconfig_state_queue, data);
> +
> +     /* XXX This is just a stupid idea: Let's defer everything by 1 second. 
> */
> +     g_timeout_add_seconds(1, ipconfig_queue_process, service);

could not agree more ;)

However a g_timeout_add_seconds(0, ...) might be enough. By just having
to leave the mainloop and re-enter it you ensure that everything is
queued up properly.

Adding a 1 seconds delay is make my pretty much angry since I care about
every millisecond in our connection time.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to