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

Multicore and Multithreading

Blog banner

How to feel Happy everyday day

Blog banner

Networking 101: How to Build Meaningful Connections in College

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Deadlock and Starvation

Blog banner

OS ASSIGNMENT

Blog banner

The Peephole

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

Firewall in Computer Network

Blog banner

TEAMWORK

Blog banner

Developments in Modern Operating Systems

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Deadlocks in Operating Systems

Blog banner

My Favorite Sportsperson

Blog banner

Child labour

Blog banner

Memory Management in Operating System

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Importance of education

Blog banner

Functions Of Operating Systems

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

IO Buffers

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Paging

Blog banner

Music is life

Blog banner

Mobile Security

Blog banner

Android Flashlight Application

Blog banner

10 Signs your Computer has Virus

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Software

Blog banner

Evolution of Operating system

Blog banner

Advantage of freedom

Blog banner

Key to success in Sports

Blog banner

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Virtual memory in os

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Social Engineering Attacks

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner