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
101 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

Why we should do reading

Blog banner

Data Warehousing

Blog banner

Malicious softwares

Blog banner

Health and fitness in technology

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Short note on Microsoft office

Blog banner

Processes: Process Description and Control.

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Ethical Hacking

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Heart Fulness Meditation

Blog banner

Challenges and risks in service operations

Blog banner

Deadlock

Blog banner

Information of meesho company

Blog banner

Memory Management

Blog banner

Dancing Classes In Mumbai

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Internet of Things and cyber security

Blog banner

Go Daddy

Blog banner

MENDELEY

Blog banner

Product Discount Calculator

Blog banner

The Features of Blockchain

Blog banner

Data Visualization

Blog banner

All you need to know about Website Traffic

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

This too shall pass

Blog banner

Random Forests

Blog banner

NETSUITE

Blog banner

Linux Memory Management

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

SNAPCHAT

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Texting is actually better than talking in person

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

INTRODUCTION

Blog banner

A Journey By Train

Blog banner

IoT Architecture Based Security

Blog banner

Deadlocks

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Clarizen

Blog banner