wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Types of Threads

profile
Ashlyn Rodrigues
Aug 02, 2023
1 Like
0 Discussions
79 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

Note on Process, Process creation and Process termination

Blog banner

File Systems in OS.

Blog banner

Deadlock and Starvation

Blog banner

SMARTSHEET

Blog banner

Buffer Overflow

Blog banner

Device driver

Blog banner

Quality check in IT services

Blog banner

Street foods

Blog banner

Love is in air.....

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

File management -disha parekh

Blog banner

Deadlock and Starvation

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Hacking

Blog banner

CRISP-DM Methodology

Blog banner

Mumbai

Blog banner

EdTech (Education Technology)

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

Deadlock

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

Synchronization

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Cache memory

Blog banner

Dekkers Algorithm

Blog banner

Concurrency management in operating systems

Blog banner

Mumbaicha Dabbawalla

Blog banner

Different Types of Data

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

Understanding Business Layer in Data Science

Blog banner

SECURITY TOOLS

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

Knowledge Management in Continual Service improvement (CSI)

Blog banner

Processes : Process description and control

Blog banner

security requirements for safe e-payment

Blog banner

Satellite Based Positioning

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Bit Coins

Blog banner

Google App Engine

Blog banner

Modern operating system

Blog banner