wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and alse multithreading

profile
Khushi Kuvadiya
Aug 04, 2023
1 Like
0 Discussions
108 Reads

Q. What is Threads? And what you 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

Multiprocessor scheduling

Blog banner

Bharat Maps

Blog banner

Self managing devices

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

MODERN OPERATING SYSTEM

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Workplace mental health: A Psychological Perspective on Employee Well-being and Organizational Growth

Blog banner

GraphQL

Blog banner

Royal enfield

Blog banner

Processing Crime and Incident Scenes

Blog banner

Social Engineering

Blog banner

From Model Mistakes to Metrics

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

Drawing tips for a beginner

Blog banner

RAID

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Bit Coins

Blog banner

Dr. Venkadavarahan

Blog banner

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

Blog banner

Business Engineering

Blog banner

Uber

Blog banner

How social media affect

Blog banner

Emerging threats in cyber Forensics

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Why Personalized Return Gifts Are the Perfect Choice for Every Kid’s Birthday Party?

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Service stratergy principles

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

Lifestyle of a photographer

Blog banner

Deadlock in Operating System

Blog banner

Mumbai Metro 3

Blog banner

Street foods

Blog banner

Mumbai

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

Memory Management

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

Operating System

Blog banner

Best password managers: Reviews of the top products

Blog banner

Types of Big Data

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner