wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

profile
Palak Santoki
Aug 15, 2024
0 Likes
0 Discussions
46 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

Sniffing: A Cyber Security Threat

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

virtual memory

Blog banner

Memory Management

Blog banner

Evolution of Operating system

Blog banner

 " Healing of Yoga "

Blog banner

Instagram

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

Multicore CPUs

Blog banner

Service Strategy In ITSM

Blog banner

Assignment 2

Blog banner

Memory Management in Operating System

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Apache Kafka

Blog banner

Memory Management in an Operating System

Blog banner

Swiggi

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

Pipedrive

Blog banner

Balance

Blog banner

Odoo

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

VIRTUAL MACHINE

Blog banner

Sarasota Polo Club, Myakka City — A Luxury Day Trip from Oak Tree Hotel, Arcadia

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

HR Automation : Need of the hour

Blog banner

What is Data, Information and Knowledge?

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

Service design process in ITSM

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

Steps to create an Ubuntu EC2 Instance with GUI in AWS

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Honeypot in cyber security

Blog banner

Memory management

Blog banner

E-security systems | CCTV

Blog banner

E-learning

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

Service stratergy principles

Blog banner

Data Visualization – Importance and tools (Tableau, Power BI)

Blog banner

Quality check in IT services

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Vaping vs. Chewing Gum: The Hidden ‘Stress Fix’ Destroying Sydney’s Teeth

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner