]> git.ozlabs.org Git - petitboot/commitdiff
discover: Add an asynchronous version of load_url
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Thu, 12 Sep 2013 14:26:54 +0000 (19:56 +0530)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 25 Sep 2013 06:56:50 +0000 (14:56 +0800)
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 <jk@ozlabs.org>
Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>

No differences found