PreemptProtect

PreemptProtect[expr]

计算 expr,不受到抢占式计算的中断干扰.

更多信息

范例

基本范例  (1)

抢占式计算可以在主循环计算中执行:

在中断前保护主循环计算:

Wolfram Research (2008),PreemptProtect,Wolfram 语言函数,https://reference.wolfram.com/language/ref/PreemptProtect.html.

文本

Wolfram Research (2008),PreemptProtect,Wolfram 语言函数,https://reference.wolfram.com/language/ref/PreemptProtect.html.

CMS

Wolfram 语言. 2008. "PreemptProtect." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/PreemptProtect.html.

APA

Wolfram 语言. (2008). PreemptProtect. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/PreemptProtect.html 年

BibTeX

@misc{reference.wolfram_2024_preemptprotect, author="Wolfram Research", title="{PreemptProtect}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/PreemptProtect.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_preemptprotect, organization={Wolfram Research}, title={PreemptProtect}, year={2008}, url={https://reference.wolfram.com/language/ref/PreemptProtect.html}, note=[Accessed: 17-November-2024 ]}