one thread中文,one thread的意思,one thread翻译及用法

2026-03-21 23:35 浏览次数 21

one thread

交换姐妹花

one thread 例句

英汉例句

  • When one thread interrupts another, the interrupted thread does not necessarily stop what it is doing immediately.

    当一个线程中断另一个线程时,被中断的线程不一定要立即停止正在做的事情。

  • Despite the diverging backgrounds and interests of youth and pop culture during those decades, MTV was the one thread holding together an entire age demographic.

    尽管在这几十年中,青年和流行文化的背景和兴趣不同,音乐电视就像一根线,将整个时代的人们穿在一起。

  • This is called the o (1) scheduler, denoting that the same amount of time is taken to schedule one thread as it is to schedule many.

    这种算法就称为o(1)调度程序,这个名字就表示它调度多个线程所使用的时间和调度一个线程所使用的时间是相同的。

  • There is now a locking mechanism to ensure that only one thread at a time goes through any of the wrapped calls.

    现在有一个锁机制来确保每次仅能有一个线程经过任何已包装的调用。

  • However, only one thread is running in this test run, so it's not especially useful for comparative analysis.

    然而,在这个测试运行中只运行了一个线程,所以比较分析的用处并不大。

  • A single process can work with multiple SPU contexts, but to run on more than one SPU at a given time, the process needs to contain at least one thread for each running SPU context.

    一个进程可以使用多个spu上下文,但是要在每个给定的时间点上在多个SPU上运行,这个进程需要包含至少一个每个正在运行的SPU上下文所使用的线程。

  • If one thread attempts to read from a file whilst another is writing to it, the data may become corrupted.

    如果一个线程尝试读取某个文件,而另一个线程对其进行写访问,则可能会损坏数据。

  • Another way to avoid synchronization issues is to allocate a large chunk of global memory and break it into smaller slots, where each slot is to be used by one thread for logging.

    另一种避免同步问题的方法是,分配一个很大的全局内存块,并将其划分为较小的槽位,其中每个槽位都可由一个线程用来进行日志记录。

  • That is, you make sure that only one thread at a time can access a certain data structure by locking and unlocking it.

    这就是说,通过线程的锁定和解锁,对于某一数据结构,确保某一时刻只能有一个线程能够访问它。

  • This is because a group with the same primary keys raises one thread of event delivery.

    这是因为主键相同的分组发起一个事件交付线程。

  • On AIX a process is a collection of information about OS-controlled resources (such as file and socket information), a virtual address space, and at least one thread of execution.

    在AIX 上,进程是关于OS 控制资源(比如文件和套接字信息)、虚拟地址空间以及至少一个执行线程的一系列信息。

  • Thus it is relatively straightforward to implement the classic one thread per connection model.

    因此实现典型的每个连接一个线程的模型便非常简单。

  • When one thread is executing a synchronized block, any thread waiting to enter that block is stalled.

    当一个线程正在执行一个同步块时,任何等待进入该块的线程都将被阻塞。

  • The way the scheduler is set up here causes the whole scheduler to stop when one thread does so.

    这里设置调度程序的方法将导致在其中一个线程停止时整个调度程序停止。

  • This breaks the one thread per request model, as the thread for a request never gets freed up.

    这打破了每个请求使用一个线程的模型,因为用于一个请求的线程一直没有被释放。

  • When more than one thread accesses a mutable variable, all threads must use synchronization, or else some very bad things can happen.

    在不只一个线程访问一个互斥的变量时,所有线程都必须使用同步,否则就可能会发生一些非常糟糕的事情。

  • With locking, if one thread attempts to acquire a lock that is already held by another thread, the thread will block until the lock becomes available.

    使用锁定,如果一个线程试图获取其他线程已经具有的锁定,那么该线程将被阻塞,直到该锁定可用。

  • In practice, dataflow variables provide an excellent way to communicate values from one thread to another, and they are commonly used to communicate results in multithreaded unit tests.

    在实践中,数据流变量提供一种不错的方式来将值从一个线程传输到另一个线程,且它们通常用于传输多线程单元测试中的结果。

  • The best practice approach is to assign one thread per mail directory.

    可取的方法是为每个邮箱目录指定一个线程。

  • Preemption is sharing the CPU transparently by temporarily pausing one thread to allow another to execute.

    抢占通过临时中断一个线程以执行另一个线程的方式来实现CPU共享。

  • With this approach, the consumer USES one thread to send the request and another to receive the response.

    通过这种方法,使用者可以使用一个线程来发送请求,而使用另一个线程来接收响应。

  • The request/response cycle lends itself to the classic one thread per connection model.

    请求/响应周期使它成为了经典的模型,即每个连接使用一个线程。

  • Whenever mutable variables are Shared between threads, you must use synchronization to ensure that updates made by one thread are visible to other threads on a timely basis.

    每当易变的变量在线程间共享时,都必须使用同步来确保一个线程所做的更新,能够及时地被其他线程看到。

  • This could result in objects being moved from one thread to another through a series of loads and stores.

    这可能导致通过一系列加载和存储将对象从一个线程移动到另一个线程。

相关热词