wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
116 Reads

Q. What is Threads? And what  you mean by Multi-Threading? 

ANS. Within a program, a Thread is a separate execution path. It is a lightweight process that the operating system can schedule and run concurrently with other threads. The operating system creates and manages threads, and they share the same memory and resources as the program that created them. This enables multiple threads to collaborate and work efficiently within a single program.A thread is a single sequence stream within a process. Threads are also called lightweight processes as they possess some of the properties of processes. Each thread belongs to exactly one process. In an operating system that supports multithreading, the process can consist of many threads.

Why Multi-Threading. 

A thread is also known as a lightweight process. The idea is to achieve parallelism by dividing a process into multiple threads. For example, in a browser, multiple tabs can be different threads. MS Word uses multiple threads: one thread to format the text, another thread to process inputs, etc. More advantages of multithreading are discussed below.Multithreading is a technique used in operating systems to improve the performance and responsiveness of computer systems. Multithreading allows multiple threads (i.e., lightweight processes) to share the same resources of a single process, such as the CPU, memory, and I/O devices


Comments ()


Sign in

Read Next

IT security management

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

Fitness regime by Deepesh

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Service Strategy principles

Blog banner

Excel records

Blog banner

Life lesson

Blog banner

Child labour

Blog banner

Memory

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Sleep Disorder: The Silent Link Between Sleep and Mental Health

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

File Organization and Access

Blog banner

Why is online marketing is important in current scenario

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

MYNTRA

Blog banner

File management In Operating System

Blog banner

What is Internet

Blog banner

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

Confidence Building Activities for the New School Year

Blog banner

Building a Better You: Fitness Tips and Inspiration.

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

File management

Blog banner

Why Eating a Variety of Foods Is Important for Complete Nutrition?

Blog banner

Traditional UNIX Scheduling

Blog banner

How Cyber Forensics use in AI

Blog banner

MORDERN UNIX SYSTEM

Blog banner

History of Money

Blog banner

Getting started with Android Studio

Blog banner

Article on IT development trends

Blog banner

Decoding Modern Assessment: Why We Look Beyond the Grade Sheet

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Virtual memory

Blog banner

Hubspot

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

WINDOWS I/ O

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner