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

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

What is Email? Uses of Emails

Blog banner

Power of words

Blog banner

A small world of Sockets

Blog banner

1.1 basic elements

Blog banner

Consumer to consumer business mode

Blog banner

Components of GIS

Blog banner

A Heartfelt Act of Kindness

Blog banner

Fitness regime by Deepesh

Blog banner

Supervised and unsupervised learning

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

NETSUITE

Blog banner

Dr. Venkadavarahan

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Penetration Testing

Blog banner

DIGITAL ECONOMY

Blog banner

Steganography and Steganalysis

Blog banner

Virtual Machine

Blog banner

Microsoft powerpoint presentation

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Embaded operating system

Blog banner

Photography

Blog banner

Why is ITSM important in IT organization?

Blog banner

Modern operating system

Blog banner

Why we should do reading

Blog banner

semaphores

Blog banner

Memory Management in an Operating System

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Operating system

Blog banner

USPS mail

Blog banner

Texting is actually better than talking in person

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

The art of being alone

Blog banner

BharatPe

Blog banner

Virtual Machine

Blog banner

Place to visit in pune

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

DATA VAULT

Blog banner

Why we fail after giving 100% ?

Blog banner

MPL and how its effects?

Blog banner