Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: fork (or run view() on different thread)

$
0
0
Dear Dan, you could also consider to run your lengthy skill code in a child virtuoso instance (which will require an additional license). If you put your lengthy skill code in the file longExecutionTime.il and the exit statement as last statement in the file you can start an ipc the parent virtuoso-session : (procedure childFinished(childID tData) printf("child finished\n") );procedure cid=ipcBeginProcess("virtuoso -nograph -replay longExecutionTime.il" "" nil nil 'childFinished) Then you can read the logfile(in the parent instance) created by the child instance using e.g. view("my_log.txt" 'default "Log" t) Kind regards, Matthias

Viewing all articles
Browse latest Browse all 33813

Trending Articles