Non-reentrant functions cannot be used by multiple threads.
不可重入的函数不能由多个线程使用。
In multithreaded enviornments multiple threads access the same heap.
在多线程环境中,多个线程访问同一个堆。
Doing so allows for multiple threads to search the list concurrently.
这么做就允许多个线程同时搜索链表。
But what happens if multiple threads intend to append data to the queue?
但是,如果多个线程都试图把数据添加到队列中,会发生什么?
Instances of this timer class can be safely accessed from multiple threads.
该定时器类的实例能够被多个线程安全地访问。
For better throughput, clients can submit redaction requests from multiple threads.
要实现更高的吞吐量,客户端可从多个线程提交编校请求。
If this processing occurs in multiple threads, you can start to have serious problems.
如果该处理出现在多个线程中,就可能发生严重问题。
When the files are closed, you make room for storage to be allocated for multiple threads.
在关闭文件后,您可以为将要分配给多个线程的存储腾出空间。
A lock-bound application is one in which multiple threads are fighting over the same locks.
在一个锁关键型应用程序中,多个线程在相同的锁上争用。
Thread pools are far from the only way to use multiple threads within a server application.
线程池远不是服务器应用程序内使用多线程的唯一方法。
The job dispatcher spawns multiple threads, each containing the code for a different subtask.
作业调度器生成多个线程,每个线程包含执行不同子任务的代码。
Your code must create multiple threads (or processes, if you really prefer) to run multiple SPEs.
代码必须创建多个线程(或进程,如果您喜欢这样叫)来运行多个SPE。
This really brings me to the more general use case for multiple threads: long running operations.
这也让我想起了多线程的一个更常用的用例:长时间运行的操作。
If a variable is declared as volatile, it means that it is expected to be modified by multiple threads.
如果一个变量被声明为volatile,这意味着它预计会由多个线程修改。
The challenge is that you need to coordinate multiple methods in multiple classes across multiple threads.
挑战在于,您需要跨多个线程协调多个类中的多个方法。
The role of the join action is to synchronize multiple threads of parallel execution started by fork actions.
join动作的功能是要同步fork动作启动的多个并行执行的线程。
This provides concurrent access by multiple threads to the human tasks in the database as shown in Figure 2.
这提供了多线程并发访问数据库中的人工任务,如图2所示。
To exploit the power of multiprocessor systems, applications are generally structured using multiple threads.
要使用多处理器系统的功能,通常需要使用多线程构造应用程序。
You will get better performance if you can use multiple threads at a time for injecting (or receiving) messages.
如果可以同时使用多个线程来注入(或接收)消息,您将获得更好的性能。
When multiple threads ask for the same lock at the same time, one wins and acquires the lock, and the others block.
在多个线程同时请求同一个锁时,会有一个线程获胜并得到锁,而其他线程被阻塞。
Specifically, thread safety is about properly coordinating access to mutable data that is accessed by multiple threads.
具体来说,线程安全是指适当地协调对被多个线程访问的可变数据的访问。
In the example scenario, a client application running multiple threads calls an EJB component, log1Bean, from each thread.
在这个例子场景中,一个多线程的客户机应用程序从每个线程调用一个EJB组件log1Bean。
The engine provides transactions and crash recovery, and allows multiple connections and multiple threads to use a connection.
该引擎提供了事务和崩溃恢复,支持多个连接,而且支持使用一个连接的多个线程。
Developers must be aware that Struts will create a single instance of the Action and allow multiple threads to invoke execute .
开发人员必须清楚,Struts创建的是Action的单一实例,并允许多个线程调用它的execute 。
Immutable data cannot be changed and thus reading immutable data does not require locks, even when multiple threads are reading.
不可变数据是不能更改的,因此读取不可变数据无需用到锁,即使有多个线程读取时也是如此。
Now, we would have created a data race on the local variable sum, because multiple threads might want to update it simultaneously.
现在,我们在局部变量sum上创造了一场数据竞争,因为多个线程可能同时希望更新它。
When analyzing a transaction trace, it is usually necessary to follow multiple threads, which adds some complexity to the trace analysis.
分析事务跟踪信息时,通常有必要分析多个线程,而这将增加跟踪分析的复杂性。
If method register is invoked simultaneously by multiple threads, it could result in a race condition leading to an incorrect _set value.
如果方法register同时由多个线程调用,那么它会产生一个竞争状态,导致出现错误的_ set值。
Anytime you work with data that will be read or written by multiple threads, you must consider how to manage that data and coordinate changes.
任何时候要处理将由多个线程读写的数据时,您必须考虑如何管理该数据并协调更改。
Anytime you work with data that will be read or written by multiple threads, you must consider how to manage that data and coordinate changes.
任何时候要处理将由多个线程读写的数据时,您必须考虑如何管理该数据并协调更改。
应用推荐