• Most of time, you just create a thread, assign some task to it, and then continue to process other affairs.

    大多数时候只需创建一个线程向其分配一些任务然后继续处理其他事务

    youdao

  • If you create a joinable thread but forget to join it, its resources or private memory are always kept in the process space and never reclaimed.

    如果创建一个可接合线程但是忘记联接资源私有内存一直保存进程空间中,从未进行回收再利用

    youdao

  • This allows you to create an arbitrarily complicated data structure for the thread to work on, and pass it in as a single pointer.

    这样允许创建任意复杂数据结构将它作为一个指针传送给需要这个数据结构进行操作线程

    youdao

  • To make better use of CPU time, we can create a pool of NHRTs to process the data. By maintaining a pool of running threads, we have no thread startup and shutdown overhead when running.

    更好利用CPU时间我们可以创建nhrt处理数据通过维护一个运行线程池,运行的时候存在任何线程启动停止开销了

    youdao

  • POSIX provides the mutex function to create critical sections that enforce exclusive access to an object (a piece of memory) by a single thread.

    POSIX提供互斥函数创建临界用于实施线程对象内存独占访问

    youdao

  • The primordial thread is allowed to create both RT threads.

    允许使用原始线程创建这两个RT线程

    youdao

  • You can create a thread to run certain logic at specified time intervals or periods.

    可以创建一个线程用于指定时间间隔时期内运行某种逻辑

    youdao

  • When an SPU thread gets created, the library will create a new thread that manages the SPU context asynchronous to the main thread.

    创建SPU线程时,这个创建线程,它负责管理主线异步的spu上下文

    youdao

  • The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.

    工厂保留连接线程静态映射可以线程进行调用返回现有连接创建存储连接句柄。

    youdao

  • Most programs create many temporary objects that are used within the context of a single thread but never escape to the visibility of other threads.

    大多数程序所创建临时对象单独线程上下文中,很少被其他线程所用。

    youdao

  • Rather, they create a new process or thread every time a client connects to the application server.

    但是有些应用程序并没有使用进程/线程池机制,而是每当客户机连接应用程序服务器创建新的进程。

    youdao

  • Create a new thread in your pluglet and execute the code there.

    pluglet创建一个新的线程在那里执行代码

    youdao

  • As an example, the code in Listing 1 USES an anonymous class to create a Thread Factory.

    例如,清单1代码使用匿名创建Thread Factory。

    youdao

  • This is a recipe for trouble because in some JVMs, creating a Thread is a heavyweight operation, and it's far better to reuse existing Threads than to create new ones.

    可以解决一些问题因为一些JVM 中创建Thread一项重量型操作重用现有 Thread创建线程要容易

    youdao

  • The examples in Listing 1 and Listing 2 both suffer from a fairly frustrating flaw, in that they force you to create Thread objects directly.

    清单1 清单2中的示例存在一个重要缺陷它们要求直接创建Thread对象

    youdao

  • The important value here is Threads_created, which is incremented each time mysqld has to create a new thread.

    此处重要Threads_created,每次mysqld需要创建一个线程时,这个值都会增加

    youdao

  • On the right of the TCP channel configuration panel, click on ThreadPools to create a new Thread Pool for this channel (Figure 3).

    TCP通道配置面板右侧单击ThreadPools,为此通道创建线程3)。

    youdao

  • Keventd should run to create a new kernel thread.

    运行keventd创建一个新的内核线程

    youdao

  • The Executor class does serve as a common place to get Executor-implementing instances, but it only has new methods (to create a new thread pool, for example); it doesn't have precreated instances.

    Executor实际上充当一个提供Executor 实现实例共同位置只有new方法例如用于创建线程);它没有预先创建实例。

    youdao

  • POSIX allows you to create POSIX threads (pthreads) with different thread scheduling policies and priorities to meet differing application needs. Three such scheduling policies are.

    POSIX允许创建具有不同线程调度策略优先级的POSIX线程(pthreads)满足不同应用程序需求

    youdao

  • First, you create a Worker object and pass it the URL of the script that will be executed in the new thread.

    首先创建一个Worker对象传递线程执行脚本URL

    youdao

  • Since the thread scheduler really amounts to instructions to "do a, then do B, then do c, etc." it was not difficult to create an entirely parallel case in a main function.

    因为线程调度程序真的等同于执行a接着执行b然后执行c等等”的指令,所以函数创建一个完全并行情况困难

    youdao

  • You can create a ThreadPoolStatus MBean to provide the management interface for the thread pool used to process these tasks and register it with JMX.

    可以创建ThreadPoolStatusMBean提供处理这些任务使用线程管理接口,并把JMX注册

    youdao

  • A straightforward way to do this would be to create a new class PriorityThreadPool (ThreadPool) that returned more important threads more often during the thread iteration.

    我们可以直接方式实现它,就是创建一个PriorityThreadPool (ThreadPool),这个类在线程迭代期间频繁返回重要线程

    youdao

  • You don't call the ThreadPoolExecutor constructor directly to create a thread pool but instead use the Executors utility class to create one.

    使用Executors工具创建线程不是直接调用ThreadPoolExecut or构造器来创建。

    youdao

  • To use the WASThreadFactory, the application must first look up an Asynchronous Beans WorkManager, create a WASThreadFactory instance, and then construct a new thread pool.

    使用WASThreadFactory应用程序必须首先查找AsynchronousBeans WorkManager,创建一个 WASThreadFactory实例然后构造新的线程池。

    youdao

  • Likewise, if the program communicates with the SPU code using mailbox access, it needs to create a new thread, for example, by calling fork or pthread_create.

    同理如果这个程序使用邮箱访问SPU代码进行通信它就需要创建一个新的线程例如通过调用fork或pthread_create

    youdao

  • To create a new non real-time thread the existing thread class is used unchanged.

    使用现有Thread、不做任何改动,就创建实时线程

    youdao

  • However, immediately after the second create call returns, the main thread can't assume which thread (a or b) will actually start running first.

    然而,就第二create调用返回后主线无法假定是哪线程(ab)首先开始运行

    youdao

  • In Listing 1, pthread_create is called to create a new thread with a default thread attribute.

    清单1中调用了pthread_create创建一个默认线程属性线程。

    youdao

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

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

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