From f75be467e87eedddc100e9e36fe0c149ada82786 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Fri, 24 Nov 2017 12:53:21 +0000 Subject: [PATCH] Update wikipage SCOOP implementation. (Signed-off-by:bmeyer). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1931 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../concurrent-eiffel-scoop/scoop-implementation.wiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/17.05/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-implementation.wiki b/documentation/17.05/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-implementation.wiki index f821e326..7b2cd4a6 100644 --- a/documentation/17.05/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-implementation.wiki +++ b/documentation/17.05/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-implementation.wiki @@ -71,7 +71,7 @@ If the agent does not take any arguments, you must pass Void, otherwise the comp is on the same processor as the caller and thus triggers lock passing (see [[Asynchronous Calls]]): -do_call (proc: separate PROCEDURE [ANY, TUPLE]) +do_call (proc: separate PROCEDURE [TUPLE]) do proc.call (Void) end @@ -80,7 +80,7 @@ do_call (proc: separate PROCEDURE [ANY, TUPLE]) If the agent does take arguments, things get a bit more tricky. If the call must be asynchronous, you have to do a workaround with the feature {ROUTINE}.empty_operands like this: -do_call (a_procedure: separate PROCEDURE [ANY, TUPLE[separate STRING]]; a_string: separate STRING) +do_call (a_procedure: separate PROCEDURE [TUPLE[separate STRING]]; a_string: separate STRING) local l_tuple: separate TUPLE [separate STRING] do