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

Microsoft Windows Overview

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

A buffer overflow

Blog banner

8 Reasons Why You Must Try Digital Marketing

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

File System

Blog banner

Diwali

Blog banner

5 People who claimed to have Time Traveled

Blog banner

LIFEHACKER

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Modern operating system

Blog banner

Everything You Need for a Perfect Stay in Arcadia, Florida, USA.

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

Excel records

Blog banner

Paging

Blog banner

Evolution of Operating System

Blog banner

Short note on Microsoft office

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Functions Of Operating Systems

Blog banner

Memory Management

Blog banner

Different types of scam frauds

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Starvation

Blog banner

Linker

Blog banner

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

Blog banner

INTRANET

Blog banner

National Payments Corporation of India-Rupay - Gayatri Nayak

Blog banner

File Management In OS

Blog banner

Cache Memory

Blog banner

12 Principles of Animation

Blog banner

Memory Management in Operating System

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Security in Cloud Computing

Blog banner

Benefits and drawback of web security.

Blog banner

Deadlock and Starvation

Blog banner

Modern operating system

Blog banner

What is thread and alse multithreading

Blog banner