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

A Review on Data Acquisition in Cyber Forensics

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Booting Process In Operating System

Blog banner

FRIENDSHIP

Blog banner

FIREWALL

Blog banner

Life of a 2020-2021 student

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

'Positivity in life'

Blog banner

IP ADDRESS

Blog banner

Cloud Security: Trends and Innovations

Blog banner

PHONE TECHNOLOGY

Blog banner

My favourite food

Blog banner

M commerce

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Virtualisation

Blog banner

Microsoft Word

Blog banner

MACHINE LEARNING

Blog banner

Travel: Everything Everywhere!

Blog banner

Principles of Service Operation

Blog banner

Uniprocessor scheduling

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Evolution of Operating system

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

What is Spyware?

Blog banner

Spotify

Blog banner

Swiggi

Blog banner

Game Theory in Blockchain

Blog banner

Principal of concurrency

Blog banner

Hacking Mobile Platforms

Blog banner

Outlook mail

Blog banner

Life lesson

Blog banner

My Favorite Sportsperson

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

Women empowerment

Blog banner

Beatbox

Blog banner

Cyber Security Standards

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Data Exfiltration

Blog banner

Travelling blog

Blog banner