Sometimes it is perfectly sensible to spawn a new thread for each new task.
有时,为每个新任务生成一个新线程是十分明智的。
This starts a new thread in the current ServletContext.
这样将在当前ServletContext中开始一个新线程。
Create a new thread in your pluglet and execute the code there.
在pluglet里创建一个新的线程并在那里执行代码。
But we have to do this inside a new thread; otherwise, we'll lock the entire Workbench.
但是我们必须在一个新线程中做这项工作;否则,我们将锁定整个Workbench。
Normally, a new thread would be given the task of reading bytes from a particular socket.
通常会把从特定socket 中读取字节的任务分配给一个新线程。
Explains how to create a new thread of execution.
解释如何创建新的执行线程。
As mentioned above, sometimes it is perfectly sensible to spawn a new thread for each new task.
如同上面所提到的,有时,为每个新任务生成一个新线程是十分明智的。
In Listing 1, pthread_create is called to create a new thread with a default thread attribute.
清单1中调用了pthread_create来创建一个含默认线程属性的新线程。
In the asynchronous with callback invocation, the invoked service USES a new thread of execution.
在带回调的异步调用中,被调用的服务使用新的执行线程。
At first, this seems to work fine, because it creates a new thread to handle the network operation.
乍看起来,这段代码似乎能运行得很好,因为创建了一个新的线程来处理访问网络的操作。
In the first release of our plugin, the server was started as a new thread inside the Eclipse workbench.
在我们的插件的第一个版本中,服务器作为Eclipse工作台内部的一个新的线程启动。
But on Slashdot, a comment will often provoke a new thread of conversation-a tree with more branches.
但是在Slashdot上,一条留言往往会引发出新的讨论话题——具有更多枝桠的讨论树。
In the asynchronous with deferred response invocation, the invoked service USES a new thread of execution.
在带延迟响应调用的异步调用中,被调用的服务使用新的执行线程。
The important value here is Threads_created, which is incremented each time mysqld has to create a new thread.
此处重要的值是Threads_created,每次mysqld需要创建一个新线程时,这个值都会增加。
After locking that, it creates a new thread and increments threadcount; after it's done, it unlocks the mutex.
之后它创建一个新的线程同时增量threadcount;在完成之后,它解锁互斥量。
The server might also want to associate various forms of context with a thread that would be lost when a new thread is spun off.
服务器也可能想把各种形式的上下文都关联到一个线程上,因为产生新线程时,上下文可能会丢失。
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上下文。
To improve schedule efficiency and performance of multi-core processor system, a new thread scheduling algorithm is presented.
为提高多核处理器系统的调度效率,充分发挥多核处理器的性能,提出了一种新的线程调度算法。
You indicate that you start a new thread to process the inbound data... can you please point out where that thread is generated?
你说明开始一个新的线程来处理入站数据…可以请你指出其中产生的线程么?
This API (invoking various other components) created a new thread, which in turn wanted to invoke a synchronous call on the UI thread.
这个API(调用其他不同的组件)创建了一个新的线程,反过来想要在UI线程上进行同步调用。
We could spawn a new thread for each piece of data produced, but this would waste a lot of processor time starting and stopping threads.
可为所产生的每个数据片段生成一个新线程,但这会将大量处理器时间浪费在启动和停止线程上。
Using the feature, the back-end call runs in a new thread, managed by Application Server, and the application does not wait for the result.
通过使用该功能,后端调用运行在ApplicationServer托管的新线程,并且应用程序不会等待结果。
Although the TimerTask's run method is invoked on a new thread, this thread has been allocated by the JVM and is out of the application server's control.
虽然TimerTask的run方法是在新线程中调用,但是这个线程是JVM已经分配的线程,处于应用服务器的控制之外。
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。
This RAPD method could overcome difficulties in Chinese traditional medicine identification and provide a new thread for identification of Gynostemma pentaphyllum.
这一方法克服了传统的鉴别方法易受到外界环境因素影响的困难,为绞股蓝的鉴别提供了新的思路。
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实例,然后构造新的线程池。
The application of mild hypothermia (MHT) provides a new thread for severe traumatic brain injury patients. Increasing clinic trials suggest the efficiency and commodity of MHT.
亚低温(MHT)的应用为重型颅脑损伤患者的救治提供了新的思路和方法,国内外多个临床试验证实了其在救治中的有效性和实用性。
The application of mild hypothermia (MHT) provides a new thread for severe traumatic brain injury patients. Increasing clinic trials suggest the efficiency and commodity of MHT.
亚低温(MHT)的应用为重型颅脑损伤患者的救治提供了新的思路和方法,国内外多个临床试验证实了其在救治中的有效性和实用性。
应用推荐