连续执行线程块而不抢占 [英] continuous execution of thread block without preemption
本文介绍了连续执行线程块而不抢占的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是线程新手..
我正在使用C#windows应用程序。
在窗口形式加载时我调用线程。
i想要执行一些子线程的语句,而不需要抢占/切换。
我怎样才能实现这一点。
I am new for threading..
I am working on C# windows application.
On load of window form i call thread.
i want to execute some statements of child thread to be executed without preemption/switching.
How can i achieve this.
推荐答案
你是是指锁定 [ ^ ]?
这篇关于连续执行线程块而不抢占的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文