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

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Deadlock

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Vulnerability Assessment

Blog banner

Atlantis - The Lost Island.........

Blog banner

Modern Operating system

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Modern Operating Systems

Blog banner

Real Time Scheduling

Blog banner

Heart Fulness Meditation

Blog banner

Pipedrive

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Music

Blog banner

AI and Cyber Security

Blog banner

Operating system evolution

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

Starvation

Blog banner

I/O Buffering

Blog banner

Real-time Scheduling - 53003230061

Blog banner

The functions of operating system

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

The Five Steps of Data Science

Blog banner

HR Automation : Need of the hour

Blog banner

HUBSPOT

Blog banner

Data Science in Mental Health Prediction

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Multiprocessor and Multicore Organization

Blog banner

USES OF WHATSAPP

Blog banner

Importance of self defence for girls

Blog banner

Data Security must be your Priority!

Blog banner

IOT Hacking Techniques

Blog banner

Raid and levels of raid.

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Drawing tips for a beginner

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Firewall

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

When Is the Right Time to Enrol My Toddler Into Preschool? NEP

Blog banner

What is Virtual Memory

Blog banner