wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
116 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

Predicting Student Performance with Data Science

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Save Environment

Blog banner

Scheduling

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

What is Packet Filtering?

Blog banner

Memory Management

Blog banner

Game Theory in Blockchain

Blog banner

Difference Between Classification And Clustering

Blog banner

objectives and functions of operating system

Blog banner

Operating system

Blog banner

Development Of Modern Operating System

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

Amazon

Blog banner

Memory Management

Blog banner

Security Issues

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

Memory Management

Blog banner

Blockchain Transactions

Blog banner

Depression

Blog banner

Data Science in Mental Health Prediction

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

Cloud Computing

Blog banner

Memory Management

Blog banner

Memory Management

Blog banner

Having passion in life

Blog banner

Memory management

Blog banner

Importance Of Time

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

GIS in Disaster Management

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

On-Page SEO

Blog banner

Cyber Security in Data Breaching

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner