answersLogoWhite

0

Just knowing what a thread does should already make it quite clear what its advantages are. In programming, multithreading means the capability of running multiple threads, or instruction sequences, at the same time. A thread is simply a sequence of instructions, but the language is designed in such as way that other threads can work at the same time.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What are the advantages of threads in Operating System?

In simple terms, they allow you to multitask better, meaning run multiple programs without experiencing a major decrease in performance.


Are NPT pipe threads compatible with NPSM threads?

No, NPT threads are not compatible with NPSM threads. A pipe with NPT threads tapers slightly, while an NPSM-threaded pipe does not taper.


What are the advantages and disadvantages of user level threads and kernel level threads?

- USER LEVEL THREADS Aadvantages: · User-level threads can be implemented on operating system that does not support threads. · Implementing user-level threads does not require modification of operating system where everything is managed by the thread library · Simple representation which the thread is represented by a the thread ID, program counter, register, stack , all stored in user process address space · Simple management where creating new threads, switching threads and synchronization between threads can be done without intervention of the kernel · Fast and efficient where switching thread is much more inexpensive compared to a system call - Disadvantages: · There is a lack of coordination between threads and operating system kernel. A process gets one time slice no matter it has 1 thread or 10000 threads within it. It is up to the thread itself to give up the control to other threads · If one thread made a blocking system call, the entire process can be blocked in the kernel, even if other threads in the same process are in the ready state KERNEL LEVEL THREAD: - Advantages: · Because kernel has the full knowledge of all the threads, scheduler may decide to allocate more time to a process having large number of threads than process having small number of thread, where the kernel threads come useful for intense application - Disadvantages: · Kernel level threads are slow and inefficient, since kernel must manage and schedule all the threads as well as the processes. It requires a full TCB for each thread to maintain information about threads, which results in increasing of overheads and kernel complexity


Different kind of threads in MFC?

There are two main kinds of threads implementations: User-space threads and Kernel-supported threads. Mikaela


What are the advantages and disadvantages of internal and external threads?

Internal threads, found inside holes, provide a secure connection and are typically less prone to damage since the external environment doesn't wear on them. They are often easier to assemble in confined spaces. Conversely, external threads are easier to manufacture and can be used in a wider range of applications. However, they may be more susceptible to wear and damage over time due to exposure.


Whats the difference between plumbing pipe threads and conduit pipe threads?

Plumbing pipe threads are squared and conduit pipe threads are tapered.


What are directional threads in fabric?

The long threads are called the warp and the shorter cross threads are called the weft.


What npt pipe threads full name?

National Pipe Threads or the Briggs Standard NFT = National fine threads NCT National corse threads ASAE America society of auto engineer threads etc


What are the differences between Internal and External threads?

Internal threads are threads inside of a hole in something. Like a nut, for instance. External threads are threads on the outside of a cylindrical object. Like a bolt, for instance. hth, Steve


What is a 60's slang word that is equivelent to nice cloths?

Cool threads Boss threads Hip threads


What are the advantages of multitask?

The advantages of multitasking are that you can get alot more done and that you can apply more brain power to the current situations Another Advantage is that you could not get frusterated on the same work.


What are metric threads?

Metric threads are called that way, because you measure the distance between the threads (at the highest point), in millimeters., As opposed to SAE (standard), which are measured by the number of threads in an inch.