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

Trends that began during the pandemic

Blog banner

Operating Systems Overview

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

Types of Hackers

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

Jira Software

Blog banner

Install Ubuntu in Vmware

Blog banner

Flipkart

Blog banner

Twisted world

Blog banner

SPAM

Blog banner

Strengthening Active Directory Security

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Data Visualization – Importance and tools (Tableau, Power BI)

Blog banner

PYTHON

Blog banner

Types of email

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Cyber Security Control

Blog banner

Drawing tips for a beginner

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Technical SEO : Total Guide

Blog banner

Fault Tolerance

Blog banner

semaphores

Blog banner

LIMITED EDITION

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

Deadlock and Starvation

Blog banner

Love is in air.....

Blog banner

Music is life

Blog banner

Memory input output management

Blog banner

What is Minting & Mining

Blog banner

Big Data Architecture

Blog banner

Cycling

Blog banner

Fault tolerance

Blog banner

Deadlock and Starvation

Blog banner

Data Analytics in Data Science

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

VIRUS

Blog banner

Honeypot in cyber security

Blog banner

Travel: Everything Everywhere!

Blog banner

TAILS OS

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner