Re: LinkInterrupt in C
- To: mathgroup at smc.vnet.net
- Subject: [mg49166] Re: LinkInterrupt in C
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 6 Jul 2004 03:33:26 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <ccb6af$epp$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hmm, MLPutMessage(MLAbortMessage); ??? Regards Jens Zhu Chongkai wrote: > > Hi all, > > I am writing a Mathematica FrontEnd in C using Mathlink. > > Now my frontend can call Mathematica functions, and "MLReady" works so I > have the control when the Kernel is evaluating. If a very time-consuming > calculation was send to the Kernel, I want my frontend can send some > command to the Kernel to break/abort it. > > The "Abort Evaluation" (in the "Kennel" menu) and the LinkInterrupt command > do the same thing. What is the corresponding C command? I can't find > any in the Mathematica Book. > > Thanks.