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

Linux 94

Blog banner

Deadlock

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

Dancing Classes In Mumbai

Blog banner

Direct Memory Access

Blog banner

Service Strategy principles

Blog banner

Memory

Blog banner

Modern Operating System - Khush bagaria

Blog banner

Kernel in Operating System

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Cyber Security in Data Breaching

Blog banner

Processing Crime and Incident Scenes

Blog banner

Process State

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

Understanding - Proof of Work!

Blog banner

Deadlock and Starvation

Blog banner

Domain Name System

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

De-Coding Love

Blog banner

Inventory management software system

Blog banner

Deadlock and starvation in operating system

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Deadlock and Starvation

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

Direct Memory Access

Blog banner

Threat management

Blog banner

Web Site

Blog banner

Image Steganalysis in Digital Forensics

Blog banner

Race Condition

Blog banner

Social Engineering

Blog banner

Jira Software

Blog banner

Hacking

Blog banner

Understanding the 'Ambiverts'

Blog banner

What is Network Security?

Blog banner

MORDERN UNIX SYSTEM

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Banaras

Blog banner

Virtual Memory

Blog banner

How Men and Women Process Pain Differently

Blog banner