]> gitweb.factorcode.org Git - factor.git/commitdiff
concurrency.distributed-docs: add a note about send-synchronous
authorAlexander Iljin <ajsoft@yandex.ru>
Sat, 6 Jan 2018 19:35:25 +0000 (22:35 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 16 Jan 2018 21:40:14 +0000 (13:40 -0800)
basis/concurrency/distributed/distributed-docs.factor

index 99f1e0ed075a6b7355f2a17b924389ec93b022f5..a608e43ff1602f449e21d88d0603568686a4d073 100644 (file)
@@ -43,7 +43,9 @@ $nl
 "response to a distributed message. When an instance of " { $link thread } " "
 "is marshalled, it is converted into an instance of " { $link remote-thread }
 ". The receiver of this can use it as the target of a " { $link send }
-", " { $link send-synchronous } " or " { $link reply-synchronous } " call." ;
+", " { $link send-synchronous } " or " { $link reply-synchronous } " call."
+$nl
+"Note: " { $link send-synchronous } " can only work if " { $link local-node } " is assigned (use " { $link start-node } "), because there must be a server for the remote instance to send its reply to." ;
 
 ARTICLE: "concurrency.distributed" "Distributed message passing"
 "The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite." $nl