At Tue, 14 May 2013 23:56:11 +0900,
MORITA Kazutaka wrote:
> 
> From: MORITA Kazutaka <[email protected]>
> 
> Currently, if we call queue_work() in the second event_loop(),
> work_queue_wait() cannot wait for completion of the work.  This fixes
> the problem.
> 
> Signed-off-by: MORITA Kazutaka <[email protected]>
> ---
>  collie/common.c |   19 ++++++++++++-------
>  include/event.h |    4 ++--
>  lib/event.c     |   19 ++++++++++---------
>  3 files changed, 24 insertions(+), 18 deletions(-)

Please drop this patch.  I've found that work_queue_wait() still has a problem;
work queue can become empty after calling work_queue_empty() and before
event_loop(-1).

Thanks,

Kazutaka
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to