You can't use the same instances across multiple threads.
在多个线程之间不能使用相同的实例。
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?
但是,如果多个线程都试图把数据添加到队列中,会发生什么?
Network delays are another reason to break things up into multiple threads.
网络延迟是将工作分解为多个线程另一个原因。
Instances of this timer class can be safely accessed from multiple threads.
该定时器类的实例能够被多个线程安全地访问。
As mentioned earlier, you will need to follow multiple threads in the trace.
正如前面提到的,您将需要分析跟踪信息中的多个线程。
Figure 4 shows how multiple threads within a single CSLD task can be set up.
图4显示了如何在一个CSLD任务中设置多个线程。
When used with multiple threads, you must use some type of synchronization.
和多线程一起使用时,必需使用某种类型的同步。
In the next section, I expand on this test case and implement multiple threads.
在下一节中,我将详述这个测验用例并实现多个线程。
In this way, you can have code on three machines running against 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.
线程池远不是服务器应用程序内使用多线程的唯一方法。
Those instances of a particular program can exist in multiple threads within a given process.
这些特定程序的实例可以存在于给定进程的多个线程中。
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.
具体来说,线程安全是指适当地协调对被多个线程访问的可变数据的访问。
Specifically, thread safety is about properly coordinating access to mutable data that is accessed by multiple threads.
具体来说,线程安全是指适当地协调对被多个线程访问的可变数据的访问。
应用推荐