]> gitweb.factorcode.org Git - factor.git/blob - basis/concurrency/distributed/distributed-docs.factor
91de425d8a8803d8ec16071170eb8b08a750096d
[factor.git] / basis / concurrency / distributed / distributed-docs.factor
1 USING: help.markup help.syntax concurrency.messaging threads ;
2 IN: concurrency.distributed
3
4 HELP: local-node
5 { $var-description "A variable containing the node the current thread is running on." } ;
6
7 HELP: start-node
8 { $values { "port" "a port number between 0 and 65535" } }
9 { $description "Starts a node server for receiving messages from remote Factor instances." } ;
10
11 ARTICLE: "concurrency.distributed" "Distributed message passing"
12 "The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite."
13 { $subsection start-node }
14 "Instances of " { $link thread } " can be sent to remote processes, at which point they are converted to objects holding the thread ID and the current node's host name:"
15 { $subsection remote-process }
16 "The " { $vocab-link "serialize" } " vocabulary is used to convert Factor objects to byte arrays for transfer over a socket." ;
17
18 ABOUT: "concurrency.distributed"