From: Alexey on 10 Feb 2010 03:37 Hello, I have a program that uses separate MathKernel for a very long computation. Main kernel calls LinkWrite[link, EvaluatePacket[...]] then calls LinkRead[link] and waits until the computation will be completed. But sometimes this additional kernel may shut down due to some reason ("No more memory available" or just due to a bug). When this happens the main MathKernel (which launches additional kernel) goes to infinite loop with 100% CPU usage. Is it possible to control such situation and handle MathKernel's automatic shutdown inside the main MathKernel?
|
Pages: 1 Prev: Execute on Exit? Next: GUIKit: How to set up a "tableHeader" in table |