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
107 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

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

Blog banner

File Management system

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

MailChimp

Blog banner

Smartsheet

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Direct Memory Access

Blog banner

Deadlock in operating system

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Fitness

Blog banner

Starting Android Activity Using Intent

Blog banner

Khau Galli – Vile Parle

Blog banner

Why is ITSM important in IT organization?

Blog banner

memory managment

Blog banner

Importance of modern technology era

Blog banner

A Heartfelt Act of Kindness

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

SQL Injection

Blog banner

Tracking Emails & Email Crimes

Blog banner

Segmentation and paging concept

Blog banner

Virtual Machine's

Blog banner

Starvation

Blog banner

Climate Anxiety: Understanding the Psychological Impact of a Changing World

Blog banner

Google App Engine

Blog banner

WORKFRONT SOFTWARE

Blog banner

The seven-step improvement process

Blog banner

Introduction to GIS

Blog banner

Data Storytelling: Turning Analysis into Business Action

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

A BLOG ON MYSQL

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

Operating system

Blog banner

UniProcessor Scheduling

Blog banner

Capacity management in ITSM

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

IOT Hacking Techniques

Blog banner

38_Exploring The Honeynet Project

Blog banner