两个线程 in English translation

two processes
two lines

Examples of using 两个线程 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
这样修改之后,内存乱序就不会发生了,并且我们依然允许两个线程分别运行在不同的CPU核中注5。
With this modification, the memory reordering disappears, and we have still allowed both threads to run on separate CPU cores.
您也许已推测到,在pthread_create()成功返回之后,程序将包含两个线程
As you may have guessed, the program will consist of two threads after pthread_create() successfully returns.
并行执行的最大挑战在于确保同一数据不会被两个线程同时获取。
The single biggest challenge to parallel execution is ensuring the same data is not being accessed by two threads at the same time.
例如,在支持超线程的单CPU系统上,缺省情况下,数据库服务器允许在一个物理处理器上并发运行两个线程
For example, on a single-CPU system that supports hyperthreading, by default the database server permits two threads to run concurrently on one physical processor.
防止两个线程同时访问相同的资源。
Prevents two threads from accessing the same resource at the same time.
两个线程写同一个变量可以在代码中发现。
Two threads writing to the same variable can be tracked down at a code level.
与跳转相关的两个线程构成了Reddit的首页。
Two threads related to the jump made the front page of Reddit.
例如,考虑这样一个例子:两个线程尝试更新两个变量。
For instance, consider the case where two threads try to update two variables.
举个例子,假设两个线程的TID分别为123与456。
For example, suppose there are two threads with TLDs 123 and 456.
两个线程/内核访问同一个数据时,不能停下来互相等待.
When two threads/cores access the same data they can't stop and wait for each other.
到目前为止,我们仅用到两个线程:主线程和一个子线程。
So far, we have been using only two threads: the main thread and one child thread..
Java中的死锁状态至少需要多于两个线程以及资源的时候才会产生。
Java deadlock situation arises with at least two threads and two or more resources.
如果两个线程同时在incr()中执行,则其中一个更新可能会丢失。
If two threads execute in incr() simultaneously, one of the updates could be lost.
类似的,我们看下面代码,两个线程只从同一个变量sp中读取内容.
Similarly, consider two threads just reading from the same variable sp.
举个例子来说,两个线程不能将信息同时发送给一台打印机。
For example, two processes can't simultaneously send information to a printer.
这里创建了两个线程并将用于第二个线程的变量名改为handle2和num2。
We make two threads and change the variable names used with the second thread to handle2 and num2.
就算仅仅只有两个线程同时执行这三个操作,也会存在很多可能的interleaving。
Even when we only consider three operations and two threads, there are still a lot of possible interleavings.
量)Parallelism(并行性)如果至少有两个线程正在同时执行,则会出现此情况。
Parallelism: A condition that arises when at least two threads are executing simultaneously.
注意:当RV以较高优先级运行时,仅涉及两个线程:显示线程和音频线程。
NOTE: When RV runs with higher priorities, this is referring to only two of its threads: the display thread and the audio thread..
图1说明了具有两个线程的线程池,其中有一个线程被阻止,正在等待外部资源。
Figure 1 illustrates a thread pool with two threads, one of which is blocked waiting for an external resource.
Results: 1713, Time: 0.0204

Word-for-word translation

Top dictionary queries

Chinese - English