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

Understanding E-mail Servers

Blog banner

FASHION

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Mariana Trench: The deepest depths

Blog banner

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

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

1.1 basic elements

Blog banner

E-learning

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

Instagram

Blog banner

american greatines

Blog banner

Expert System In AI

Blog banner

Scheduling

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Modern operating system

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Game Theory in Blockchain

Blog banner

File management -disha parekh

Blog banner

Article on team management software

Blog banner

You'll get to know about Pankaj Negi

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Explain Kernel in OS

Blog banner

Shoulders

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

INTERNET

Blog banner

S-Tool : Steganography

Blog banner

Why Skipping Afternoon Meals Affects More Than Just Your Hunger?

Blog banner

Ethical Hacking

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

What is E-commerce

Blog banner

Concurrency and memory

Blog banner

Memory Management

Blog banner

Deadlocks in Operating Systems

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

Record Blocking

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner