wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

profile
Palak Santoki
Aug 15, 2024
0 Likes
0 Discussions
44 Reads

thread is a single sequential flow of execution of tasks of a process so it is also known as thread of execution or thread of control. There is a way of thread execution inside the process of any operating system. Apart from this, there can be more than one thread inside a process. Each thread of the same process makes use of a separate program counter and a stack of activation records and control blocks. Thread is often referred to as a lightweight process.The process can be split down into so many threads. For example, in a browser, many tabs can be viewed as threads. MS Word uses many threads - formatting text from one thread, processing input from another thread, etc.

Need of Thread:

  • It takes far less time to create a new thread in an existing process than to create a new process.
  • Threads can share the common data, they do not need to use Inter- Process communication.
  • Context switching is faster when working with threads.
  • It takes less time to terminate a thread than a process.

Advantages of User-level threads

  1. The user threads can be easily implemented than the kernel thread.
  2. User-level threads can be applied to such types of operating systems that do not support threads at the kernel-level.
  3. It is faster and efficient.

Disadvantages of User-level threads

  1. User-level threads lack coordination between the thread and the kernel.
  2. If a thread causes a page fault, the entire process is blocked.



Comments ()


Sign in

Read Next

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

All you need to know about Cassandra

Blog banner

Importance of Network Security Risk

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Multiprocessor scheduling

Blog banner

Phishing

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

Women empowerment

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

Education: Key to your Prosperity

Blog banner

SAVE TREES

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Cache memory

Blog banner

Memory Management

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Esri India launches Policy Maps.

Blog banner

Modern operating system

Blog banner

MEMORY MANAGEMENT

Blog banner

Hosting basics

Blog banner

Security in Operating Systems

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

Getting started with Android Studio

Blog banner

Types of threads

Blog banner

Concurrency management in operating systems

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Blockchain Security Technique

Blog banner

OPERATING SYSTEM

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

File management in os

Blog banner

Mesh Topology

Blog banner

(Input/Output) in os

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Virtual Machine

Blog banner

OS Assignment 3

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

COMMUNICATION

Blog banner