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

Firewall in Computer Network

Blog banner

Smartsheet

Blog banner

Mobile Security

Blog banner

Electronic Funds Transfer

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

Mobile Transport Layer – Traditional TCP

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Memory Management in Operating System

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Mobile Survey

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Busted : Common Web Security Myths

Blog banner

Art and Culture of Rajasthan

Blog banner

Multicore CPUs

Blog banner

Big Data Architecture

Blog banner

College Life

Blog banner

What are Virtual Machines

Blog banner

Memory managment

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Open relationships

Blog banner

History of Money

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Operating System Objectives and Functions

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

Deadlock and Starvation

Blog banner

Understanding the 4 Types of Learning Methods in Early Childhood

Blog banner

Article on different management system

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Uniprocessor Scheduling

Blog banner

SECURITY TOOLS

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Wiretapping

Blog banner

OS- Assignnment 1

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Developments in Modern Operating Systems

Blog banner

Memory Management

Blog banner

Intrusion Detection System

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner