HAP home

18. Parallel Computation

ChildClose(s)

This closes the stream s to a child GAP process.

ChildCommand("cmd;",s)

This runs any GAP command "cmd;" on child process accessed by the stream s. No output from "cmd;" can be accessed via the stream.

ChildFunction("function(arg);",s)

This runs the GAP function "function(arg);" on a child process accessed by the stream s. The output from "func;" can be accessed via the stream.

ChildProcess()
ChildProcess("workspace")

This starts a GAP session as a child process and returns a stream to the child process. The child GAP session can be started with any given workspace.

ChildRead(s)

This returns, as a string, the output of the last application of ChildFunction("function(arg);",s).

ChildReadEval(s)

This returns, as an evaluated string, the output of the last application of ChildFunction("function(arg);",s).


 





generated by GAPDoc2HTML