Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

PreemptProtect

PreemptProtect[expr]
evaluates expr, without any interruption from preemptive evaluations.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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

In[1]:=
Click for copyable input
Out[1]=

Protect the main loop evaluation from being interrupted:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2008
(7.0)