From 2f37e5028078415131896d69a5a92927128d60aa Mon Sep 17 00:00:00 2001 From: BlackMinou Date: Mon, 8 May 2017 13:50:02 -0400 Subject: [PATCH] use `SynchronizedCounter` in chameneos-redux Signed-off-by: BlackMinou --- .../examples/chameneos-redux/chameneosredux.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/actors/examples/chameneos-redux/chameneosredux.nit b/lib/actors/examples/chameneos-redux/chameneosredux.nit index 9143e22..60361a8 100644 --- a/lib/actors/examples/chameneos-redux/chameneosredux.nit +++ b/lib/actors/examples/chameneos-redux/chameneosredux.nit @@ -128,7 +128,7 @@ fun work(n, nb_colors : Int ) do for c in creatures do c.async.run - active_actors.is_empty + active_actors.wait var total = 0 for c in creatures do -- 1.7.9.5