• 线程切换可以单个进程内部发生也可以进程发生。

    Thread switches can occur either inside of a single process or across processes.

    youdao

  • 争用同步之所以是因为涉及多个线程切换系统调用

    Contended synchronizations are slow because they involve multiple thread switches and system calls.

    youdao

  • 线程线程请求信息时,就可能引起线程切换

    One thread asking another for information can cause a thread switch, or one thread preempting another can cause a thread switch.

    youdao

  • 并且确实执行线程切换时,每次运行程序时它往往同一个位置进行切换

    And when it does perform a thread switch, it tends to do it in the same place whenever you run the program.

    youdao

  • 如果同步时还发生锁定用,那么性能上付出的代价会大得多,因为需要几个线程切换系统调用

    If the synchronization actually requires contending for the lock, the performance penalty is substantially greater, as there will be several thread switches and system calls required.

    youdao

  • 并行处理150个线程对于一个处理器来说负担很大,大部分时间消耗线程切换上。

    Processing 150 threads in parallel is rather much for one processor, which will spend a lot of time just switching between these threads.

    youdao

  • 解释程序中的函数中若使用标签变量,那么它线程代码中以获得高效率的线程切换

    The labels within the interpreter function can be stored in the threaded code for super-fast dispatching.

    youdao

  • 与此类似线程切换 num_proc1导致克隆线程中的转移的错误预测。

    Similarly, toggling the value of num_proc1 by the parent thread causes branch misprediction in the clone thread.

    youdao

  • 这样避免了并发较高情况下,频繁线程切换带来的大量系统开销提高了服务器性能

    It avoids the large system overhead of Thread switching frequency under high concurrency, and improves the server's performance.

    youdao

  • 运行一个处理器克隆线程切换num_proc1的(并且根据另一个处理器修改变量的值进行转移)。

    The cloned thread running on another processor toggles the value of num_proc2 based on the value of num_proc1 (and branches based on the value of the variable modified by another process).

    youdao

  • MacRuby 0.6发布之后,用户发现问题运行某代码段的时候,后台线程切换线会导致程序崩溃。

    One issue that was found after the release of MacRuby 0.6 seems to cause problems with scheduling a block to run on the main thread from a background thread.

    youdao

  • 线程对于一个处理器来说负担很大,大部分时间消耗在线程切换上。在这种情况下,必须增加更多的处理器来分担负荷。

    For example, a quad-processor server would need to process only 37 threads per processor-a more reasonable amount. Scaling beyond this can be done.

    youdao

  • 应用程序代码接收新的主题然后调用 WSSubject.setRunAsSubject(returned_subject)方法当前线程切换标识。

    The application code receives the new subject, then invokes the WSSubject.setRunAsSubject(returned_subject) method to switch identity for the current thread.

    youdao

  • 要求上下文切换内核线程处理数据移动到磁盘以及磁盘移出数据任务

    This requires a context switch to the kernel thread to handle the task of moving data to and from disk.

    youdao

  • 切换上下文所有开销一次性应用线程

    All the overhead of switching contexts is applied to the thread one time.

    youdao

  • 由于任意工作量一个线程进程上下文切换涉及到开销较大,小粒度级系统往往效率低下遭遇性能问题

    Due to the overhead involved in context switching to a thread or process for any amount of work, systems with small-scope granularity are often inefficient and suffer from low performance.

    youdao

  • CPU每个处理器都拥有自己CSA(当前保存)指针指向线程中断处理程序由于上下文切换中断或交换时使用MST

    Each processor on the CPU has its own CSA (current save area) pointer that points to the MST that is to be used when a thread or interrupt handler is interrupted or swapped due to context switch.

    youdao

  • 事实上太多线程甚至降低性能因为它会导致额外环境切换开销

    Indeed, too many threads will even degrade performance because of the additional context switching overhead.

    youdao

  • 有了线程我们可能目前中等性能的PC 机上运行数以万计并行进程,还可以秒钟几十万地在上下文之间切换

    With microthreads, it is possible to run tens of thousands of parallel processes on a moderately capable modern PC, and to switch between contexts hundreds of thousands of times every second.

    youdao

  • 然而我们必须小心因为随着线程增加上下文切换增加

    However, we had to be careful because, as you increase this number, context switching also increases.

    youdao

  • 使得线程编辑器会话中可以轻松地在两者之间切换

    This enables you to easily switch between the two within a single routine editor session.

    youdao

  • 切换线程出错线程输入~所有线程列举出来,一个断点标记问题的线程

    If you switch threads and want to get back to the faulting thread, type ~ to list all threads and the faulting thread will be marked with a dot.

    youdao

  • 由于要在线程进行上下文切换,因此CPU简直变成了超载

    The CPU simply becomes overburdened by context switching between threads.

    youdao

  • 另外,如果每个线程忙于处理网络连接线程之间上下文切换频繁。

    And if each thread (ergo network connection) is busy, then the context switching to each thread can be significant.

    youdao

  • 因为单元测试中的并行任务通常很小同时也很少调度程序切换线程之前它们通常一直运行结束除非强迫(也就是通过wait )。

    Because concurrent tasks in unit tests are usually small and few, they usually run to completion before the scheduler switches the thread, unless it is forced to (say, by wait ).

    youdao

  • 线程上下文切换代价并不大。

    Thread context switching is NOT expensive.

    youdao

  • 现在可以Debug视图快速切换挂起线程

    You can now quickly switch between suspended threads in the Debug view

    youdao

  • 而且这个比较 366MHz芯片可以大约10秒内执行一百万次上下文切换所涉及线程耗时无重大影响)。

    Moreover, on this fairly slow 366 MHz chip, one million context switches can be performed in about 10 seconds (the number of threads involved is not particularly significant to the timing).

    youdao

  • 而且这个比较 366MHz芯片可以大约10秒内执行一百万次上下文切换所涉及线程耗时无重大影响)。

    Moreover, on this fairly slow 366 MHz chip, one million context switches can be performed in about 10 seconds (the number of threads involved is not particularly significant to the timing).

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定