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

File system implementation

Blog banner

Deadlock

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Modern Operating System - Khush bagaria

Blog banner

A small world of Sockets

Blog banner

Deadlock in operating system

Blog banner

Meshoo

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Malicious softwares

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

Importance of Website

Blog banner

Some web vulnerabilities

Blog banner

Power of words

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Layers Of Blockchain

Blog banner

Trello ( management software)

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Direct Memory Access

Blog banner

Buffering

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

IT security management

Blog banner

Paid Email

Blog banner

THREADS (assignment 1)

Blog banner

What is Virtual Memory

Blog banner

I Personally

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

What is Spyware?

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Regression Analysis

Blog banner

Mariana Trench: The deepest depths

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Stephen Hawking : A Remarkable Physicist

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

BITCOIN WALLET

Blog banner

AOL Mail

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

Network Forensics Tools and Techniques

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Deadlock

Blog banner

Wedding photographer

Blog banner