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

What Function Does SEO Serve in Digital Marketing?

Blog banner

Blog name

Blog banner

Direct Memory Access

Blog banner

Virtual Memory

Blog banner

Firewall

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

How Does SSO Works

Blog banner

Security Issues

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Bots and Cyber Security

Blog banner

Virus

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Concurrency and Deadlocks

Blog banner

Balance

Blog banner

Cyber Security Standards

Blog banner

objectives and function of operating system

Blog banner

"Audit" In Data Science

Blog banner

Cache memory

Blog banner

Diwali

Blog banner

Health and fitness

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Random Forests

Blog banner

Evolution of OS

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

Virtual memory in windows

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

Wiretapping

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Earth with no trees

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

How to Avoid being a Victim of Cybercrime

Blog banner

Chicken Dum Biryani

Blog banner

RACI model in IT services

Blog banner

Virtual memory

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

What is E-commerce

Blog banner

Why is ITSM important in IT organization?

Blog banner

Deadlock and Starvation in an Operating System

Blog banner