Fix docs errors for threaded-server changes

db4
Doug Coleman 2010-09-20 14:17:27 -05:00
parent d97bf9f890
commit 47a9359fc4
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
! Copyright (C) 2007 Chris Double. ! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: help.syntax help.markup channels concurrency.distributed ; USING: channels concurrency.distributed help.markup help.syntax
io.servers.connection ;
IN: channels.remote IN: channels.remote
HELP: <remote-channel> HELP: <remote-channel>
@ -45,9 +46,9 @@ HELP: publish
ARTICLE: { "remote-channels" "remote-channels" } "Remote Channels" ARTICLE: { "remote-channels" "remote-channels" } "Remote Channels"
"Remote channels are channels that can be accessed by other Factor instances. It uses distributed concurrency to serialize and send data between channels." "Remote channels are channels that can be accessed by other Factor instances. It uses distributed concurrency to serialize and send data between channels."
$nl $nl
"To start a remote node, distributed concurrency must have been started. This can be done using " { $link start-node } "." "To start a remote node, distributed concurrency must have been started. This can be done using " { $link start-server } "."
$nl $nl
{ $snippet "\"myhost.com\" 9001 start-node" } { $snippet "\"myhost.com\" 9001 start-server" }
$nl $nl
"Once the node is started, channels can be published using " { $link publish } "Once the node is started, channels can be published using " { $link publish }
" to be accessed remotely. " { $link publish } " returns an id which a remote node " " to be accessed remotely. " { $link publish } " returns an id which a remote node "

View File

@ -37,7 +37,7 @@ $nl
" or " { $link reply } " call." ; " or " { $link reply } " call." ;
ARTICLE: "concurrency.distributed" "Distributed message passing" ARTICLE: "concurrency.distributed" "Distributed message passing"
"The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite." "The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite." $nl
"Instances of " { $link thread } " can be sent to remote threads, at which point they are converted to objects holding the thread ID and the current node's host name:" "Instances of " { $link thread } " can be sent to remote threads, at which point they are converted to objects holding the thread ID and the current node's host name:"
{ $subsections remote-thread } { $subsections remote-thread }
"The " { $vocab-link "serialize" } " vocabulary is used to convert Factor objects to byte arrays for transfer over a socket." "The " { $vocab-link "serialize" } " vocabulary is used to convert Factor objects to byte arrays for transfer over a socket."