PreemptProtect

PreemptProtect[expr]

evaluates expr, without any interruption from preemptive evaluations.

Details

Examples

Basic Examples  (1)

Preemptive evaluations can be executed in the midst of a main loop evaluation:

Protect the main loop evaluation from being interrupted:

Introduced in 2008
 (7.0)