interrupted

you might periodically check this in a long operation and abort if it is set. Remember it is volatile. It is also sent through the input event loop via RealTimeConsoleInput

version(Posix)
__gshared
bool interrupted;

Meta