wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and alse multithreading

profile
Khushi Kuvadiya
Aug 04, 2023
1 Like
0 Discussions
101 Reads

Q. What is Threads? And what you 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

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

The War With Cold On Earth

Blog banner

Deadlock

Blog banner

Satellite Based Positioning

Blog banner

SMARTSHEET

Blog banner

Deadlock and starvation in operating system

Blog banner

HUBSPOT

Blog banner

Data Security must be your Priority!

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

RAID

Blog banner

Mutual exclusion

Blog banner

How to Conquer Depression ?

Blog banner

Operating system

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Evolution of Operating Systems

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

Cyber Security Control

Blog banner

Hubspot

Blog banner

Deadlock Prevention

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

Memory Management

Blog banner

Mendeley (management software)

Blog banner

Threat management

Blog banner

What is Internet

Blog banner

Vikrant’s first blog

Blog banner

How to feel Happy everyday day

Blog banner

operating system

Blog banner

Microsoft Windows Overview

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Strengthening Active Directory Security

Blog banner

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

Blog banner

Earth with no trees

Blog banner

R Programming

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

Evolution of Operating system

Blog banner

Different memory allocation strategies

Blog banner

Tools to support CSI activities

Blog banner

Direct Memory Access

Blog banner

WINDOWS I/ O

Blog banner

Security and E-mail

Blog banner