wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and alse multithreading

profile
Khushi Kuvadiya
Aug 04, 2023
1 Like
0 Discussions
101 Reads

Q. What is Threads? And what you 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

Virtual Memory

Blog banner

BrainGate Technology

Blog banner

Marvel Cinematic Universe

Blog banner

 " Healing of Yoga "

Blog banner

Deadlock in operating system

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Data Visualization in Decision-Making

Blog banner

WINDOWS I/ O

Blog banner

Cycling

Blog banner

PYTHON

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Zero-Day Attack

Blog banner

Benefits of yoga and meditation

Blog banner

Design Considerations for Disk Cache Management

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Deadlock and starvation in operating system

Blog banner

Studying Denial of service attack using DOSHTTP tool

Blog banner

Elements and Principles of Photography

Blog banner

Deadlock and Starvation

Blog banner

Raid and levels of raid.

Blog banner

Scala - a programming tool

Blog banner

Mobile Security

Blog banner

Travelling blog

Blog banner

Zomato (Income Sources)

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

Modern Operating Systems

Blog banner

GraphX:- A graph processing tool

Blog banner

MENDELEY

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

INTERNET SECURITY

Blog banner

Memory input output management

Blog banner

Go Daddy

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

TRELLO

Blog banner

Inventory management software system

Blog banner

Best password managers: Reviews of the top products

Blog banner

Explain DBMS in Brief

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

How Schools Can Reduce Exam Stress in Students?

Blog banner

Social Engineering Attacks

Blog banner

c

Blog banner