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

38_Exploring The Honeynet Project

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

The functions of operating system

Blog banner

How To Secure Operating Systems ?

Blog banner

I/O buffer and its techniques

Blog banner

Memory Management

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Evolution of Operating System

Blog banner

INTRANET

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

E-commerce

Blog banner

Bots and Cyber Security

Blog banner

Balance

Blog banner

Why Data Security Is Important

Blog banner

Elegant fashion style

Blog banner

Security in Cloud Computing

Blog banner

GraphQL

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Career v/s Job : Choose your passion

Blog banner

The Memory Hierarchy

Blog banner

To travel is to live

Blog banner

Why we fail after giving 100% ?

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Microsoft Windows Overview

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Types Of Interrupt

Blog banner

Footprinting

Blog banner

Women empowerment

Blog banner

Deadlock and Starvation

Blog banner

Top 5 Post-Wedding Skin Care Tips

Blog banner

IoT Architecture Based Security

Blog banner

DURGA POOJA

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

INTERNET

Blog banner

Cross site scripting Attack

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Malware

Blog banner

Tools to support CSI activities

Blog banner