Remember that all events are sent in from the awt event dispatchthread , which is a different thread than the main thread 还记得所有的事件是从与主线程不同的awt事件传送线程被送入的吧。
Worker threads can be used to perform time consuming or time critical tasks without tying up the primary thread 辅助线程可以用于执行耗时的任务或时间要求紧迫的任务,而不必占用主线程。
At this point the system initiates the execution of the worker thread , but it does so asynchronously to the primary thread 此时,系统将启动辅助线程的执行,但这是在与主线程异步执行的。
The component is created on the main thread of the client and calls from other threads are marshaled to this thread 该组件在客户端的主线程上创建,来自其他线程的调用被封送处理到此线程。
Because the main thread is solely responsible for multiplexing between all clients , we cannot afford to allow it to block 因为主线程单独负责所有客户机间的多路复用,因此我们不能让它阻塞。
In multithreaded code , it is often common to use a single , master thread that drives the actions the other threads take 在多线程代码中,使用驱动其它线程所负责的动作的单个主线程是常见的。
So far we ve seen how the main thread loops continuously , either accepting new clients or reading new i o 至此,我们已经看到主线程是如何连续地循环的,它要么接受新客户机,要么读取新的i / o 。
Constructor initializes the principal for the application s main thread with the current user s windows user information 构造函数使用当前用户的windows用户信息初始化该应用程序主线程的主体。
This master thread may send messages , often by placing them on a queue , that are then processed by the other threads 这个主线程发送消息,通常是通过把它们放到一个队列中,然后其它线程处理这些消息。
To incorporate threading in your c code , simply create a function to be executed outside the main thread and point a new 若要在c #代码中合并线程处理,只需创建一个将在主线程外执行的函数,并让一个新的