|
Go to the first, previous, next, last section, table of contents.
- ox_select(nlist[,timeout])
-
:: 読み出し可能なプロセスの識別子を返す.
- return
-
リスト
- nlist
-
数 (子プロセス識別子) のリスト
- timeout
-
数
-
識別子リスト nlist のプロセスのうち既に出力を返している
プロセスの識別子リストを返す.
-
全てのプロセスが RUN 状態のとき, いずれかのプロセスの終了を待つ.
但し, timeout が指定されている場合, timeout 秒だけ待つ.
-
ox_push_cmd() で SM_popCMO あるいは
SM_popSerializedLocalObject を送っておき, ox_select() で
ready 状態のプロセスを調べてox_get() することで,
ox_pop_local() , ox_pop_cmo() で待ち状態に入るのを防ぐことが
できる.
ox_launch();
0
[220] ox_launch();
1
[221] ox_launch();
2
[222] ox_rpc(2,"fctr",x^500-y^500);
0
[223] ox_rpc(1,"fctr",x^100-y^100);
0
[224] ox_rpc(0,"fctr",x^10-y^10);
0
[225] P=[0,1,2];
[0,1,2]
[226] map(ox_push_cmd,P,258);
[0,0,0]
[227] ox_select(P);
[0]
[228] ox_get(0);
[[1,1],[x^4+y*x^3+y^2*x^2+y^3*x+y^4,1],
[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],[x-y,1],[x+y,1]]
- 参照
-
section
ox_pop_cmo , ox_pop_local , section ox_push_cmd , ox_sync , section ox_get
Go to the first, previous, next, last section, table of contents.
|