From: Neelesh Gupta Date: Thu, 12 Sep 2013 14:26:54 +0000 (+0530) Subject: discover: Add an asynchronous version of load_url X-Git-Tag: v1.0.0~425 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=ce1875fe6d550803879cad4ed168229e154c0d3c;hp=ce1875fe6d550803879cad4ed168229e154c0d3c;p=petitboot discover: Add an asynchronous version of load_url A new load_url_async() function handles retrieving the resources by forking an external process which currently blocks the parent waiting for the process to complete. This patch modifies the load_*() functions to handle it asynchronously by providing the exit callback and returning without waiting for the child process to exit. Signed-off-by: Jeremy Kerr Signed-off-by: Neelesh Gupta ---