Examples of using Multiple threads in English and their translations into Vietnamese
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
Please don't make multiple threads for a single question.
The prefork MPM forks off a number of identical Apache processes,while the worker creates multiple threads.
Just don't make multiple threads for the exact same question.
Synchronization is the ability to control the access of multiple threads to shared resources.
Java uses multiple threads to carry out multiple tasks in parallel.
Java provides a convenient way to group multiple threads in a single object.
If the process has multiple threads of control, it can do more than one task at a time.
Synchronization is the capability to control the access of multiple threads to any shared resource.
If such a script is called in multiple threads, it could potentially bring the system to a grinding halt.
It is generally more efficient for one process that contains multiple threads to serve the same purpose.
A race condition occurs when multiple threads access the shared data and they try to change the data at the same time.
We can write Javaprograms that deal with many tasks at once by defining multiple threads.
Because of this, we can utilize multiple threads to work on this simultaneously.
BufferedReader is synchronized,so read operations on a BufferedReadercan safely be done from multiple threads.
When a variable can be accessed/updated from multiple threads, it normally needs protection from simultaneous changes.
It is especially useful in threaded programming wheninformation must be exchanged safely between multiple threads.
Only applications specifically designed to take advantage of multiple threads will see a performance increase.
When a program contains multiple threads then the CPU can switch between the two threads to execute them at the same time.
The pattern requires special treatment in a multithreaded environment so that multiple threads won't create a singleton object several times.
Multiple threads can exist within the same process and share resources such as memory, while different processes do not share.
An object's lock is a mechanism that is used by multiple threads to obtain synchronized access to the object.
For example, if multiple threads are concurrently searching through a database and one thread returns the result, the remaining threads might be cancelled.
Also, because only onethread can access the kernel at a time, multiple threads are unable to run in parallel on multiprocessors.
If multiple threads are awakened using notifyAll() only one awakened thread at a time can exit the wait() method, since each thread must obtain the lock on the monitor object in turn before exiting wait().
In computing, Inter-Process Communication(IPC)is a set of techniques for the exchange of data among multiple threads in one or more processes.
This allows a single core to have multiple threads, such as an Intel Core i7 having four cores and eight threads. .
Then the servlet container handles multiple requests by spawning multiple threads, each thread executing the service() method of a single instance of the servlet.
If the static method might be called from multiple threads simultaneously, measures may need to be taken to prevent race conditions that could result in the creation of multiple instances of the class.
If a thread is understood as a single piece of a computer process,then using multiple threads in a single CPU core means more instructions can be understood and processed at once.
The possibility of multiple correctexecutions is due to the ISA allowing multiple threads to execute concurrently, often with many possible legal interleavings of instructions from different threads. .