MLAbort
int MLAbort is a global variable set when a program created using mcc or mprep has been sent an abort interrupt.
LinkInterrupt[link] can be used to send an abort interrupt from Mathematica to a program connected to a particular link. See The Mathematica Book: Section 2.12.13.