wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

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

Life of an army person

Blog banner

MEMORY HIERARCHY

Blog banner

bulk email software

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

CyberSecurity Color Wheel

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Threading

Blog banner

Deadlock

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Android Flashlight Application

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Virtual Memory

Blog banner

Atlantis - The Lost Island.........

Blog banner

Embaded operating system

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Data Science in Mental Health Prediction

Blog banner

Virtual Memory

Blog banner

Basic Security For SOAP Services

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Data carving - using hex editor

Blog banner

Heart Fulness Meditation

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Objectives and Functions of Operating System

Blog banner

IT service level agreement

Blog banner

Linux Threads:

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

IT GOVERNANCE

Blog banner

Linux VServer Architecture

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Race condition

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Concurrency and memory

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

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

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

Social Media Sentiment Analysis

Blog banner

Sessions In OS.

Blog banner