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 Run your First android App

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner

E-Cash (Electronic Cash)

Blog banner

E-security systems | CCTV

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Importance of Network Security Risk

Blog banner

Deadlocks

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Bots and Cyber Security

Blog banner

Process and Threading

Blog banner

Threads

Blog banner

WORKFRONT SOFTWARE

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Cache Memory(142)

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Microsoft powerpoint presentation

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

Predicting Student Performance with Data Science

Blog banner

The Evolution of Operating Systems

Blog banner

Real Time Scheduling

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Game via listing method

Blog banner

Buffering

Blog banner

Topic: Sessions in Operating system

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

My Favorite Country

Blog banner

Data Mapping

Blog banner

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

Blog banner

Process State

Blog banner

Random Forests

Blog banner

Social engineering in cyber security

Blog banner

Synchronization

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

Virtual memory in Operating System

Blog banner

Virtual machine

Blog banner