How to kill slave kernel securely?

Posted by Alexey Popkov on Stack Overflow See other posts from Stack Overflow or by Alexey Popkov
Published on 2011-03-08T06:51:26Z Indexed on 2011/03/11 8:10 UTC
Read the original article Hit count: 168

Filed under:

Hello,

LinkClose[link] "does not necessarily terminate the program at the other end of the connection" as it is said in the Documentation. Is there a way to kill the process of the slave kernel securely?

EDIT:

In really I need a function in Mathematica that returns only when the process of the slave kernel has already killed and its memory has already released. Both LinkInterrupt[link, 1] and LinkClose[link] do not wait while the slave kernel exits. At this moment the only such function is seemed to be killProc[procID] function I had showed in one of answers at this page. But is there a built-in analog?

© Stack Overflow or respective owner

Related posts about mathematica