wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
114 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

The Golden Temple , Amritsar

Blog banner

Penetration Testing

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Deadlock

Blog banner

What Your Music Taste Reveals About Your Personality

Blog banner

Importance of Website

Blog banner

De-Coding Love

Blog banner

The Laws of Karma

Blog banner

Measuring IT Risk

Blog banner

Concurrency management in operating systems

Blog banner

How Does SSO Works

Blog banner

Network Security Risks

Blog banner

Different types of scam Fraud

Blog banner

evolution of operating system - Disha Parekh

Blog banner

I/O Buffering

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Install Ubuntu Easily

Blog banner

Processing Crime and Incident Scenes

Blog banner

How to use GIT & GITHUB

Blog banner

Deadlock in Operating systems

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Principal of concurrency

Blog banner

JIRA SOFTWARE

Blog banner

Teamwork

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Deming’s Process

Blog banner

Blog on Smartsheet.

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

IT Service as as Value Creation

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Khau Galli – Vile Parle

Blog banner

Article on IT development trends

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner