Home > DeveloperSection > Interviews > What is multithreading?

Posted on    May-05-2015 11:34 PM

 Java Java  Multiple Threading 
 1 Answer(s)
  340  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-05-2015 11:34 PM

Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and multithreading, both are used to achieve multitasking

Multithreading is a process of executing multiple threads simultaneously. Its main advantage is:

  • Threads share the same address space.
  • Thread is lightweight.
  • Cost of communication between process is low.

Don't want to miss updates? Please click the below button!

Follow MindStick