你看到的是简单的单线程处理的效果。
What you see is simple the effect of single-threaded processing.
若要允许窗体直接处理事件,可以使用多线程处理。
To allow the form to handle the events directly, you can use multithreading.
由于将以单独的线程处理每个请求,所以可以获得更好的可扩展性。
Since every request is handled in a separate thread, better scalability is possible.
如果是这样,您的应用程序有可能出现了一个常见的线程处理错误。
If so, you're probably making a common mistake with threading in your Swing applications.
虽然多线程处理是一个强大的工具,但是要将其正确应用却比较困难。
Although multithreading can be a powerful tool, it can also be difficult to apply correctly.
线程才是进行后台处理的真正方法。
即使在超载的情况下,也会给每个线程一个处理时间片。
Even under heavy load each thread will be given a slice of processing time.
一个线程被创建来处理每个新用户连接。
每个活动会话被分配一个负责处理它的线程。
哪个线程将处理该任务?
启动一个对锁请求进行处理的子线程。
结果是两个线程并发处理。
The end result is that the two threads are processed concurrently.
sqlexec线程从全局池中取得消息并加以处理。
The sqlexec threads pick up the messages from the global pool and process them.
清单9 中的整个方法完全是线程安全的,因为列表处理中使用的整个中间状态保存在参数的堆栈上。
该分析工具也适用于在单处理器上运行多线程应用程序。
The analysis can also be applied to multi-threaded applications running on a single processor.
通常情况下,我们会在应用程序中创建一定数量的工作者线程来处理这些通知。
Typically an application will also create a number of worker threads to process these notifications.
在这个程序中也有规定在单独的线程来处理您的数据。
In this program there is also provision to process your data in individual threads.
我们将这个线程池称为一个处理单元,每个shard中托管一个线程池。
We'll call this pool a processing unit, with one pool hosted in each shard.
开始处理线程来处理数据。
处理层使用了线程池和内存池提高性能。
Thread Pool and Memory Pool are used to improve performance of the system.
两个线程是活动的,都应该得到处理器时间,但顺序是不确定的。
Both threads are active, both should receive processor time, but the order is not determined.
侦听器和命令处理单独的线程上执行。
The listener and command processing are done on separate threads.
我不是多线程的专家,但这可能是我将如何处理这个问题。
I'm no multithreading expert, but this is probably how I would approach it.
更新线程将在两个坐标全部处理完之后清除互斥体。
It would clear the mutex after both coordinates had been processed.
在视频开始处理时,有多个线程。
There are multiple threads being created as the movies start.
在视频开始处理时,有多个线程。
There are multiple threads being created as the movies start.
应用推荐