wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Multithreading in Operating System

profile
Kanak Patel
Jul 12, 2023
0 Likes
0 Discussions
16 Reads

To understand multithreading first you need to understand thread. Thread is basically a single sequential flow of activities being executed in a process. When multiple threads are executed in a process at the same time, we get the term 'Multithreading'.

For example in a web browser, we can have one thread which handles the user interface, and in parallel we can have another thread which fetches the data to be displayed. So multithreading improves the responsiveness of a system. Multithreading can also handle multiple requests from the same user

Multithreading refers to an operating systems capacity to support much execution among threads within a single process. All threads inside a process will have to share of resources such as code, data, files, and memory space with its peer thread, but stacks and registers will not be shared, and each new thread will have its own stacks and registers.

Requests from one thread do not block requests from other threads, which improves application responsiveness. Multithreading also reduces the number of computing resources used and makes them more efficient. Multithreading is the event of a system executing many threads, with the execution of these threads being of two types: concurrent and parallel multithread executions.

Concurrent execution of threads is defined as the ability of a processor to move execution resources between threads in a multithreaded process on a single processor. When each thread in a multithreaded process may execute on a distinct processor at the same time, it is referred to as parallel execution.


Comments ()


Sign in

Read Next

Yoga in INDIA and ABROAD

Blog banner

Race Condition in Operating Theatre

Blog banner

TRELLO

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

Modern operating system

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Deadlock

Blog banner

Blog on Smartsheet.

Blog banner

Eating Well With Meal Maharaj on Busy Workdays Without Cooking

Blog banner

DATA WRANGLING

Blog banner

Malware Defense

Blog banner

ADIDAS

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Developments in Modern Operating Systems

Blog banner

The IT Service Lifecycle

Blog banner

What is OS and its overview

Blog banner

Child labour

Blog banner

RAID

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

The Peephole

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Street foods

Blog banner

Texting is actually better than talking in person

Blog banner

Honeypot in cyber security

Blog banner

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

Blog banner

Starvation

Blog banner

Deadlock

Blog banner

Risk mitigation and management

Blog banner

An Overivew Of Cache Memory

Blog banner

gis substation

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

IOT Hacking Techniques

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

Predicting Student Performance with Data Science

Blog banner

Scheduling

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

File and File System Structure

Blog banner

Sleep Disorder: The Silent Link Between Sleep and Mental Health

Blog banner

Deadlock and Starvation

Blog banner