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里创建一个新的线程并在那里执行代码。
You might need to define a new thread pool for DCS communication.
可能需要为DCS通信定义一个新线程池。
It specifies the address of the data item to be passed to the new thread.
它指明了将要传递给新线程的数据条目的地址。
When a task forks a new thread, it pushes it onto the head of its own deque.
当一个任务划分一个新线程时,它将自己推到deque的头部。
The pthread_create() subroutine returns the new thread ID using a thread argument.
pthread_create()子程序使用线程参数返回新的线程ID。
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 中读取字节的任务分配给一个新线程。
In Listing 1, pthread_create is called to create a new thread with a default thread attribute.
清单1中调用了pthread_create来创建一个含默认线程属性的新线程。
As mentioned above, sometimes it is perfectly sensible to spawn a new thread for each new task.
如同上面所提到的,有时,为每个新任务生成一个新线程是十分明智的。
In the asynchronous with callback invocation, the invoked service USES a new thread of execution.
在带回调的异步调用中,被调用的服务使用新的执行线程。
But if the discussion led to an totally different subject, stop, open a new thread and go on.
但是如果这个讨论导致到另一个不同的主题,那么请打开一个新线程并继续。
At first, this seems to work fine, because it creates a new thread to handle the network operation.
乍看起来,这段代码似乎能运行得很好,因为创建了一个新的线程来处理访问网络的操作。
I started a new thread with this post but it got buried pretty quickly, so I'll post it here too.
我重新开了个帖子——但是沉下去地太快了,所以我也会在这里继续写。
In the first release of our plugin, the server was started as a new thread inside the Eclipse workbench.
在我们的插件的第一个版本中,服务器作为Eclipse工作台内部的一个新的线程启动。
The new thread reads the message from the socket and USES the resulting String to build a message object.
这个新线程从套接字中读取消息,并使用结果String来构建Message对象。
In the asynchronous with deferred response invocation, the invoked service USES a new thread of execution.
在带延迟响应调用的异步调用中,被调用的服务使用新的执行线程。
But on Slashdot, a comment will often provoke a new thread of conversation-a tree with more branches.
但是在Slashdot上,一条留言往往会引发出新的讨论话题——具有更多枝桠的讨论树。
First, you create a Worker object and pass it the URL of the script that will be executed in the new thread.
首先,您创建一个Worker对象并向它传递将在新线程中执行的脚本的URL。
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;在完成之后,它解锁互斥量。
In this new thread, you then access stocks, a member variable of the enclosing Activity (the class that creates the UI).
在这个新线程中,您可以访问stocks,一个封装activity(此类创建了UI)的成员变量。
One common workaround was to use a pool of threads created at VM startup, rather than creating each new thread on demand.
一个常见的解决方案是使用VM启动时创建的线程池,而不是按需创建每个新线程。
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.
服务器也可能想把各种形式的上下文都关联到一个线程上,因为产生新线程时,上下文可能会丢失。
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)。
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上下文。
The new thread is responsible for sending the response to the client and taking the response from the service implementation class.
新线程负责将响应发送到客户机,并从服务实现类中取得响应。
Remember, as soon as pthread_create is called, the new thread starts execution. So, the sequence of events looks sort of like this.
记住,一旦pthread_create被调用,新的线程就开始执行了。
Remember, as soon as pthread_create is called, the new thread starts execution. So, the sequence of events looks sort of like this.
记住,一旦pthread_create被调用,新的线程就开始执行了。
应用推荐