mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Update wikipage SCOOP implementation. (Signed-off-by:bmeyer).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1931 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -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]]):
|
is on the same processor as the caller and thus triggers lock passing (see [[Asynchronous Calls]]):
|
||||||
|
|
||||||
<code>
|
<code>
|
||||||
do_call (proc: separate PROCEDURE [ANY, TUPLE])
|
do_call (proc: separate PROCEDURE [TUPLE])
|
||||||
do
|
do
|
||||||
proc.call (Void)
|
proc.call (Void)
|
||||||
end
|
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 <code>{ROUTINE}.empty_operands</code> like this:
|
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 <code>{ROUTINE}.empty_operands</code> like this:
|
||||||
|
|
||||||
<code>
|
<code>
|
||||||
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
|
local
|
||||||
l_tuple: separate TUPLE [separate STRING]
|
l_tuple: separate TUPLE [separate STRING]
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user