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

How to Find the Right Therapist For Me?

Blog banner

Virtual machine.

Blog banner

Synchronization

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Linux -V Server Virtual Machine

Blog banner

Memory Management

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Threads

Blog banner

operating system

Blog banner

Threading

Blog banner

Deadlock

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Operating system evolution

Blog banner

Processes : Process description and control

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Deadlock and Starvation

Blog banner

Memory Management

Blog banner

Footprinting

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

The Power of Pretend Play: What Role-Playing Teaches Preschoolers

Blog banner

Confidence Building Activities for the New School Year

Blog banner

A book review

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

Deadlock

Blog banner

BIRYANI ! The history you never knew about

Blog banner

OPERATING SYSTEM

Blog banner

File management In Operating System

Blog banner

FIREWALL

Blog banner

VIRTUAL MACHINES

Blog banner

c

Blog banner

What is Packet Filtering?

Blog banner

Virtual Memory

Blog banner

Embedded Operating System

Blog banner

Veg Mix Pickle

Blog banner

Memory input output management

Blog banner

10 Reasons to date your best friend

Blog banner

IT Service as as Value Creation

Blog banner

How To Secure Operating Systems ?

Blog banner

Memory heirchy

Blog banner

Security Breaches in Stock market trading

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner