Answer Posted / mufti usmaan system analyst
In concurrent programming a critical section is a piece of
code that accesses a shared resource (data structure or
device) that must not be concurrently accessed by more than
one thread of execution. A critical section will usually
terminate in fixed time, and a thread, task or process will
have to wait a fixed time to enter it (aka bounded waiting).
Some synchronization mechanism is required at the entry and
exit of the critical section to ensure exclusive use, for
example a semaphore
Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Tell me when should we use thread-safe "_r" library calls?
Explain the architectural differences between user-space threads, and kernel-supported threads?
How would you kill a process?
explain about the initial process sequence while the system boots up?
Explain what is scheduling?
If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?
Explain what are the main families of threads?
Explain the different kinds of threads?
Explain the performance differences between user-space threads and kernel-supported threads.?
Explain what is critical section?
Explain what is protection boundary?
Explain what are threads?
What is the window of the working set of a process?
Explain critical section?
What is protection boundary?