您不必处理线程和锁。
开始处理线程来处理数据。
而获取事件的线程并不等待处理线程的结束。
The thread responsible for fetching the event does not wait for the end of the processing thread.
多线程分发很容易产生同步问题,它产生多个可能互相干扰的事件处理线程。
Multiple-threaded dispatching can easily raise synchronization issues. It generates multiple event processing threads, which might interfere with each other.
在我的公司,我们使用无线程的方法,因为我没有足够的资源和人力处理线程模式。
In my company, we went for the non threaded way, because I just don't have the resources and disposition to cope with the threaded.
这么做是为了处理线程池中的死锁,当太多线程等待其他任务结束时就会出现死锁。
This was done to address deadlocks in the thread-pool. These deadlocks were caused when too many threads were waiting on other tasks.
在使用同步API时,为论坛或blog 中的大型页面提供服务将开启一个处理线程。
Serving a large page for a forum or a blog takes up a processing thread when it uses a synchronous API.
我记得,只有资源子类设计被称为一个线程,但是请注意,你可能仍然需要处理线程可见性问题。
As far as I remember, only Resource subclasses are designed to be called by a single thread at a time, but note that you might still have to deal with thread visibility issues.
具有像这样的一个受LotusNotes数据支持的UI组件的挑战在于如何处理线程方面的问题。
The challenge of having a UI component like this that is backed by Lotus Notes data is handling the threading issues.
然而,这些功能是互相耦合的,因为页面请求都是同一个应用服务器上的同一个请求处理线程池来处理的。
Ah, but those features are coupled, because both kinds of page requests are served by the same request-handling thread pools in the same app servers.
初看上去,似乎是生成的线程无法足够快地响应消息,但是要记住在actor模型中并不处理线程,只处理消息传递。
At first, it may feel like the spawned thread isn't responding to the messages quickly enough, but remember, in an actors model, you don't deal with threads, per se, just message passing.
由于某些处理可能要占用较长的时间,因而需要为每条生产线使用多个处理线程,确保总有一个线程能来处理最新的度量结果。
Because some processing can take a long time, we need multiple processing threads per production line to make sure that a thread is always available to work on the latest measurement.
Groovy的SwingBuilder并不能降低各种任务内在的复杂性,比如选择适当的Layout Manager或处理线程问题。
Groovy's SwingBuilder doesn't reduce any of the intrinsic complexity of tasks such as choosing the right LayoutManager or properly handling threading issues.
IOCP提供了一个有效的解决办法“一个线程每客户”的瓶颈问题(等等) ,只用少数的处理线程和异步输入/输出传送/接收。
IOCP presents an efficient solution to the "one-thread-per-client" bottleneck problem (among others), using only a few processing threads and asynchronous input/output send/receive.
这些消息将在被收到时由容器中的一个不同线程处理。
These messages will then be handled by a different thread in the container when received.
一个CSLD任务线程处理对日志数据库的所有归档请求。
The single CSLD task thread processes all archive requests for the journal database.
在多处理环境中,线程的处理时间与可用系统资源以及与其他线程的同步有关。
In a multiprocessing environment, the processing time for a thread is related to the availability of system resources and synchronization with other threads.
每个活动会话被分配一个负责处理它的线程。
哪个线程将处理该任务?
启动一个对锁请求进行处理的子线程。
SIGSTOP等专用信号必须由内核来为所有线程处理。
Special signals like SIGSTOP would have to be handled by the kernel and for all threads.
不幸的是,轻便线程用户需要注意“好好地处理”其它线程。
Unfortunately, weightless thread users need to pay attention to "playing nice" with other threads.
另一种方法是为每个请求绑定一个线程,因此当请求被处理后,线程将返回线程池。
An alternative is to tie up the thread per request so that it can be returned to the thread pool once the request processing is done.
使用线程本地存储之后,处理程序将线程本地用户名设置为空。
After using thread local storage, the handler sets the thread local username to null.
可以使用不同的策略处理不同线程处理的多条目。
Multiple items processed by different threads might be processed using different policies.
这里有一个需要权衡的因素:每个核的线程多有利于并行处理,而线程少能够提高单一处理流的性能。
There’s a trade-off factor in place here: either have more threads per core for concurrent processing or fewer threads, which will ultimately boost single-stream performance.
HTTP线程是处理传入HTTP请求的执行线程。
HTTP threads are threads of execution for handling incoming HTTP requests.
HTTP线程是处理传入HTTP请求的执行线程。
HTTP threads are threads of execution for handling incoming HTTP requests.
应用推荐