What is multithreading in computer science?

i want a brief overview of multithreading, its purpose in improving performance by executing multiple threads in parallel any one tell me.

1 Answer

 A program or process is divided into several small tasks (called topics) that can be performed simultaneously (or at the same time or overlapping periods) is called Multithreading.  Some Multithreading  benefits are mention below :

  1. Run faster (better use of CPU)
  2. UI responded to your app (eg smooth scrolling when loading content)
  3. Parallel processing of independent work
  4. Effective Resource Subscribe (because they share memory topics) Example:
  • Imagine a web browser:
  • Loads a picture of the image
  • A topic of data loading
  • Controls a user's input topic Everything works at the same time and makes your browser faster and softer.

We use cookies to enhance your experience, to provide social media features and to analyse our traffic. By continuing to browse, you agree to our Privacy Policy.