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

american greatines

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

Operating system

Blog banner

A Heartfelt Act of Kindness

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Tracking Emails & Email Crimes

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Importance of education

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

The War With Cold On Earth

Blog banner

c

Blog banner

Article on team management software

Blog banner

Raid

Blog banner

De-Coding Love

Blog banner

E-mail security

Blog banner

IT service level agreement

Blog banner

Corporate Discipline.

Blog banner

Service Design Principles

Blog banner

Threats To Computer System

Blog banner

Broken Authentication Attacks

Blog banner

Computer Security

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Direct Memory Access

Blog banner

Indian Food

Blog banner

GIS REMOTE SENSING

Blog banner

Why is online marketing is important in current scenario

Blog banner

MAILFENCE

Blog banner

EMAIL INVESTIGATION

Blog banner

Business-to-Business

Blog banner

Modern operating system

Blog banner

Deadlock

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Pink sauce pasta

Blog banner

Fitness regime by Deepesh

Blog banner

What is Vishing?

Blog banner

Different types of scam frauds

Blog banner

PHONE TECHNOLOGY

Blog banner

Modern operating system

Blog banner

Financial Fraud Detection

Blog banner