wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Types of Threads

profile
Ashlyn Rodrigues
Aug 02, 2023
1 Like
0 Discussions
77 Reads

Threads are like workers in an operating system. They help get things done faster by doing multiple tasks at the same time.

There are two main types of threads:

1. User-level threads: They are managed by the application itself and are quick to switch between tasks. However, they have some limitations in using system resources.

2. Kernel-level threads: These threads are managed by the operating system, and they can handle more tasks at once. They are better at using multiple CPU cores efficiently.

Think of it like this: User-level threads are like independent contractors hired by an application, and kernel-level threads are like employees directly managed by the operating system.

In terms of how they work together, there are different models:

- Many-to-One Model: Multiple user-level threads are managed by a single kernel-level thread. This model is simple but lacks real parallelism.

- One-to-One Model: Each user-level thread is directly managed by a separate kernel-level thread. It offers true parallelism but can be resource-intensive.

- Many-to-Many Model: Multiple user-level threads are mapped to a smaller number of kernel-level threads, striking a balance between concurrency and resource usage.

The choice of thread type and model depends on the application's needs and the system's capabilities. So, threads help applications get things done faster and efficiently by doing tasks simultaneously.


Comments ()


Sign in

Read Next

Marvel Cinematic Universe

Blog banner

Threads

Blog banner

Importance of modern technology era

Blog banner

My favourite food

Blog banner

Disk scheduling

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

BUFFER OVERFLOW_142

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

"Audit" In Data Science

Blog banner

Android Flashlight Application

Blog banner

NETWORK SECURITY RISKS

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Reconnaissance

Blog banner

Honeypot in cyber security

Blog banner

Deadlock and Starvation

Blog banner

Love is in air.....

Blog banner

Monday. com App

Blog banner

Functions Of Operating Systems

Blog banner

Health is Wealth

Blog banner

RACI model in IT services

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Multithreading in Operating System

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Memory Management

Blog banner

social media issue

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Buffer Overflow

Blog banner

Security Issues and Countermeasures

Blog banner

Heart Fulness Meditation

Blog banner

Odoo

Blog banner

DBMS and various career options related to it.

Blog banner

Oracle Corporation

Blog banner

Online Games

Blog banner

VIRUS

Blog banner

Culture Of Ladakh

Blog banner

Virus

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner