Is it essential to bind a real-time thread to an lwp, Operating System

Q. Presume an operating system maps user-level threads to the kernel using the many-to-many model and the mapping is done through LWPs. Additionally the system allows developers to create real-time threads. Is it essential to bind a real-time thread to an LWP? Elucidate.

Answer: Yes Timing is critical to real-time applications. If a thread is marked like real-time but is not bound to an LWP the thread may have to wait to be attached to an LWP previous to running. Regard as if a real-time thread is running (is attached to an LWP) in addition to then proceeds to block (i.e. must perform I/O has been pre-empted by a higher-priority real-time thread is waiting for a mutual exclusion lock etc.) While the real-time thread is blocked-up the LWP it was attached to has been assigned to another thread. While the real-time thread has been scheduled to run again it should first wait to be attached to an LWP. Through binding an LWP to a real time thread you are making sure the thread will be able to run with minimal delay once it is scheduled.

Posted Date: 7/27/2013 2:37:39 AM | Location : United States







Related Discussions:- Is it essential to bind a real-time thread to an lwp, Assignment Help, Ask Question on Is it essential to bind a real-time thread to an lwp, Get Answer, Expert's Help, Is it essential to bind a real-time thread to an lwp Discussions

Write discussion on Is it essential to bind a real-time thread to an lwp
Your posts are moderated
Related Questions
What is a Real-time system? A Real-time system is used when inflexible time requirements have placed on the operation of processor or the flow of data so it is often used as a

Define Enforcing Modularity for C Additionally, in C it is sometimes necessary to create modularity of design. C++  is very natural model for component based application design

importance of Operating system in modern computers. Also explain various functions & types of operating systems

Develop a user mode command interpreter which support these functions: "list-short" -- just like ls without any options "list-long" -- same as ls -l "change" -- same as cd Your co

Some people write custom memory allocators to meet their speci?c needs. Although this is not needed for most of the applications, it is also not uncommon. The goal, of course, is t

write a linux command to display lines from 25 - 45 of directory "/edc/password" write a linux command to display directory in /edc

Several schemes available are as follows: Pipes : One-way communication process through which different process can interact. The problem is that the two processes could have

What is the use of FIFOs in client-server applications

Explain the Peterson's solution for the critical section problem? In Peterson's solution two variables a) flag and b) turn are used as shared variables. If the both shared vari

Discuss the high barriers to entry in the market for PL operating systems