answersLogoWhite

0

Why thread used?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

Threading is a feature in Java where the system can execute multiple operations at the same time. In most cases, the CPU utilization is barely 1% of its capability even if your program is using the most complicated processing logic. So, by spawning multiple threads, we can utilize the CPU better.

For Ex: When you are using your PC to use outlook and at the same time write a document using MS Word and are browsing the internet in a browser, you are doing 3 different operations. the Operating system spawns 3 threads in order to meet your requirements and as you switch from one operation to another, the system adapts seamlessly and you have a feeling that the system is doing only the current activity, whereas it is working on all the 3 opeartions using different threads. If your system were to use only one thread, you would not be able to do all these 3 operations simultaneously.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is thread used for?

Thread is generally used for sewing.


What is a thread used for?

a thread is used for sewing things together


What is the difference between a 50 weight thread and a 30 weight thread?

The weight of a thread has to do with its size. A 50 weight thread is finer than a heavier 30 weight thread. 30 weight thread is commonly used for top-stitching, while the finer 50 weight thread is used for sewing seams and piecing.The weight of a thread has to do with its size. A 50 weight thread is finer than a heavier 30 weight thread. 30 weight thread is commonly used for top-stitching, while the finer 50 weight thread is used for sewing seams and piecing.


What is the Thread used in lead screw?

An acme thread is the most commonly used.


What is cotton thread used for?

cotton thread is used to sew and to make clothing


What thread is used to make denim?

Cotton thread is used in creating denim.


Thread used in screw jack?

acme thread


What thread do they use to do magic?

normal thread is used, the thread used in Tailor work. It is just the way they use it, it seems magic.


What is the name of a spun thread used for knitting and weaving?

yenall thread


What exactly is a thread mill used for?

Thread mills can be used to cut right and left hand threads. Thread mills can also be used for milling and pitching any sizes, including metric and imperial sizes. One can purchase Thread Mills via the official Thread Mill website.


What is cone thread?

Cone thread is thread typically used on an overlock "serger" machine. It is thread wound on a cardboard or plastic cone, and is much bigger than a standard thread spool.


What is a PTF thread?

A PTF thread is the same as a NPT thread except that it has one thread less at the small diameter end. It is used when there are space (depth) considerations.