[BACK]Return to process.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc / parts

Diff for /OpenXM/src/asir-doc/parts/process.texi between version 1.13 and 1.16

version 1.13, 2003/04/19 15:44:56 version 1.16, 2016/08/29 04:56:58
Line 1 
Line 1 
 @comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.12 2002/09/10 01:40:02 noro Exp $  @comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.15 2003/05/16 08:12:58 noro Exp $
 \BJP  \BJP
 @node $BJ,;67W;;(B,,, Top  @node $BJ,;67W;;(B,,, Top
 @chapter $BJ,;67W;;(B  @chapter $BJ,;67W;;(B
Line 944  the client executes @code{connect}.
Line 944  the client executes @code{connect}.
 @item generate_port([@var{use_unix}])  @item generate_port([@var{use_unix}])
 \JP :: port $B$N@8@.(B  \JP :: port $B$N@8@.(B
 \EG :: Generates a port number.  \EG :: Generates a port number.
 @itemx try_bind_listen(@var{port})  @item try_bind_listen(@var{port})
 \JP :: port $B$KBP$7$F(B bind, listen  \JP :: port $B$KBP$7$F(B bind, listen
 \EG :: Binds and listens on a port.  \EG :: Binds and listens on a port.
 @itemx try_connect(@var{host},@var{port})  @item try_connect(@var{host},@var{port})
 \JP :: port $B$KBP$7$F(B connect  \JP :: port $B$KBP$7$F(B connect
 \EG :: Connects to a port.  \EG :: Connects to a port.
 @itemx try_accept(@var{socket},@var{port})  @item try_accept(@var{socket},@var{port})
 \JP :: connect $BMW5a$r(B accept  \JP :: connect $BMW5a$r(B accept
 \EG :: Accepts a connection request.  \EG :: Accepts a connection request.
 @itemx register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port})  @item register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port})
 \JP :: connection $B$N@.N)$7$?(B control socket, server socket $B$NEPO?(B  \JP :: connection $B$N@.N)$7$?(B control socket, server socket $B$NEPO?(B
 \EG :: Registers the sockets for which connections are established.  \EG :: Registers the sockets for which connections are established.
 @end table  @end table
Line 1105  If X environment is not available or is not necessary,
Line 1105  If X environment is not available or is not necessary,
 @end example  @end example
   
 @example  @example
 [5] ox_launch_nox("127.0.0.1","/usr/local/lib/asir","/usr/local/lib/asir/ox_asir");  [5] ox_launch_nox("127.0.0.1","/usr/local/lib/asir",
   "/usr/local/lib/asir/ox_asir");
 0  0
 @end example  @end example
   
Line 1113  If X environment is not available or is not necessary,
Line 1114  If X environment is not available or is not necessary,
 [7] RemoteLibDir = "/usr/local/lib/asir/"$  [7] RemoteLibDir = "/usr/local/lib/asir/"$
 [8] Machines = ["sumire","rokkaku","genkotsu","shinpuku"];  [8] Machines = ["sumire","rokkaku","genkotsu","shinpuku"];
 [sumire,rokkaku,genkotsu,shinpuku]  [sumire,rokkaku,genkotsu,shinpuku]
 [9] Servers = map(ox_launch,Machines,RemoteLibDir,RemoteLibDir+"ox_asir");  [9] Servers = map(ox_launch,Machines,RemoteLibDir,
   RemoteLibDir+"ox_asir");
 [0,1,2,3]  [0,1,2,3]
 @end example  @end example
   
Line 1464  Finally call @code{ox_get} for a ready process.
Line 1466  Finally call @code{ox_get} for a ready process.
 @end itemize  @end itemize
   
 @example  @example
 [3] ox_rpc(0,"fctr",x^100-y^100);  [341] ox_cmo_rpc(0,"fctr",x^2-1);
 0  0
 [4] ox_push_cmd(0,258);  [342] ox_pop_cmo(0);
   [[1,1],[x-1,1],[x+1,1]]
   [343] ox_cmo_rpc(0,"newvect",3);
 0  0
 [5] ox_select([0]);  [344] ox_pop_cmo(0);
 [0]  error([41,cannot convert to CMO object])
 [6] ox_get(0);  [345] ox_pop_local(0);
 [[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...]  [ 0 0 0 ]
 @end example  @end example
   
 @table @t  @table @t
Line 1542  Usually @b{OX_SYNC_BALL} will be ignored by the peer.
Line 1546  Usually @b{OX_SYNC_BALL} will be ignored by the peer.
 \E  \E
 @end itemize  @end itemize
   
   @example
   [3] ox_rpc(0,"fctr",x^100-y^100);
   0
   [4] ox_push_cmd(0,258);
   0
   [5] ox_select([0]);
   [0]
   [6] ox_get(0);
   [[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...]
   @end example
   
 @table @t  @table @t
 \JP @item $B;2>H(B  \JP @item $B;2>H(B
 \EG @item References  \EG @item References
Line 1870  identifier @var{id} is returned.
Line 1885  identifier @var{id} is returned.
 [343] ox_get_serverinfo(0);  [343] ox_get_serverinfo(0);
 [[199909080,Ox_system=ox_sm1.plain,Version=2.991118,HOSTTYPE=FreeBSD],  [[199909080,Ox_system=ox_sm1.plain,Version=2.991118,HOSTTYPE=FreeBSD],
 [262,263,264,265,266,268,269,272,273,275,276],  [262,263,264,265,266,268,269,272,273,275,276],
 [[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33,40,16,34]]]  [[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,
   33,40,16,34]]]
 [344] ox_get_serverinfo();  [344] ox_get_serverinfo();
 [[0,[[199909080,Ox_system=ox_sm1.plain,Version=2.991118,HOSTTYPE=FreeBSD],  [[0,[[199909080,Ox_system=ox_sm1.plain,Version=2.991118,
   HOSTTYPE=FreeBSD],
 [262,263,264,265,266,268,269,272,273,275,276],  [262,263,264,265,266,268,269,272,273,275,276],
 [[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33,40,16,34]]]],  [[514],[2130706434,1,2,4,5,17,19,20,22,23,24,25,26,30,31,60,61,27,33,
   40,16,34]]]],
 [1,[[199901160,ox_asir],  [1,[[199901160,ox_asir],
 [276,275,258,262,263,266,267,268,274,269,272,265,264,273,300,270,271],  [276,275,258,262,263,266,267,268,274,269,272,265,264,273,300,270,271],
 [[514,2144202544],  [[514,2144202544],
 [1,2,3,4,5,2130706433,2130706434,17,19,20,21,22,24,25,26,31,27,33,60],[0,1]]]]]  [1,2,3,4,5,2130706433,2130706434,17,19,20,21,22,24,25,26,31,27,33,60],
   [0,1]]]]]
 @end example  @end example
   
 @table @t  @table @t

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.16

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>