"一个新的线程" is not found on TREX in Chinese-English direction
Try Searching In English-Chinese
(
一个新的线程)
Startin order to start the new thread.Schedulers.newThread():为每个工作单元创建一个新的线程.
Schedulers. newThread(): Creates a new thread for each unit of work.
Below is an example that creates a new thread and starts it running.在上面的代码中,可以看到我们正在产生一个新的线程。
In the above code, you can see that we're spawning a new thread.为创建一个新的线程,你的程序必须扩展Thread或实现Runnable接口。
To create a new thread, your program will either implement the Runnable interface or extend Thread..为创建一个新的线程,你的程序必须扩展Thread或实现Runnable接口。
To create a new thread, your program will either extend Thread or implement the Runnableinterface.最初这看起来能很好的运行,因为它创建了一个新的线程来处理网络操作。
At first, this seems to work fine, because it creates a new thread to handle the network operation.用非常简单的术语来说,当您连接到传统服务器(如Apache)时,它将生成一个新的线程来处理请求。
In very simplistic terms, when you connect to a traditional server, such as Apache, it will spawn a new thread to handle the request.每当一个新的请求到来,Vapor应用将产生一个新的线程或新的调度,或一个GCD(grandcentraldispatch)进程。
Every time a new request comes in, Vapor the application will spawn up a new thread or a new dispatch, a grand central dispatch process.有人说,一生可以比作一幅挂毯,编织一个新的线程中每个经验。
It's been said that a lifetime can be compared to a tapestry, each experience weaving in a new thread.每个请求都会得到一个新的线程,并在该线程内部阻塞各种I/O操作,直到请求处理完成。
Each request gets a new thread and the various I/O operations block inside that thread until the request is fully handled.在开始一个新的线程之前,你必须指定由这个线程执行的代码,通常称为task。
Before starting a new thread you have to specify the code to be executed by this thread, often called the task.每个请求都会产生一个新的线程,而在这个线程中的各种I/O操作会一直阻塞,直到这个请求被完全处理为止。
Each request gets a new thread and the various I/O operations block inside that thread until the request is fully handled.进程和线程都提供了一个执行环境,但创建一个新的线程比创建一个新的进程需要的资源要少。
Both processes and threads provide an execution environment, but creating a new thread requires fewer resources than creating a new process.当你创建一个新的线程,你必须指定该线程的入口点函数(或Cocoa线程时候为入口点方法)。
When you create a new thread, you must specify an entry-point function(or an entry-point method in the case of Cocoa threads) for that thread..
中文
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt