wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

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

Cyber Security Control

Blog banner

All you need to know about “On-page SEO”

Blog banner

Evolution of Operating system

Blog banner

Types of Malware in Cyber Security

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

TRIGGERS IN DATABASE

Blog banner

Dudhasagar waterfall ?

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Cyber Forensics

Blog banner

Layers Of Blockchain

Blog banner

virtual memory

Blog banner

Evolution of Operating system

Blog banner

This is my first blog.

Blog banner

Cross site scripting Attack

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Memory Management

Blog banner

Interrupts in OS

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

IT RISK

Blog banner

Cyber Security Standards

Blog banner

Reconnaissance

Blog banner

What is Virtual Memory

Blog banner

Operating system

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Firewall

Blog banner

Artificial Intelligence (AI)

Blog banner

What if COVID does not exist!

Blog banner

OS Assignment 3 Deadlock

Blog banner

File management in os

Blog banner

Modern Operating system

Blog banner

Evolution of Operating System

Blog banner

Business Intelligence v/s Big Data

Blog banner

THE ACTORS LIFE

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

A Short History of GIS

Blog banner

Importance of modern technology era

Blog banner

Starting Android Activity Using Intent

Blog banner

Service Design Principles

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Disk Scheduling

Blog banner

Number Guessing game --lisp

Blog banner

How Does SSO Works

Blog banner