Re: [Xen-devel] [PATCH 2/4] libxl: event handling: Break out ao_work_outstanding

2015-02-09 Thread Wei Liu
On Mon, Feb 09, 2015 at 03:51:10PM +, Ian Jackson wrote: > Break out the test in libxl__ao_complete_check_progress_reports, into > ao_work_outstanding, which reports false if either (i) the ao is still > ongoing or (ii) there is a progress report (perhaps on a different > thread's callback queu

[Xen-devel] [PATCH 2/4] libxl: event handling: Break out ao_work_outstanding

2015-02-09 Thread Ian Jackson
Break out the test in libxl__ao_complete_check_progress_reports, into ao_work_outstanding, which reports false if either (i) the ao is still ongoing or (ii) there is a progress report (perhaps on a different thread's callback queue) which has yet to be reported to the application. No functional ch