adplus-dvertising
frame-decoration

Question

Piece of code that only one thread can execute at a time is called

a.

Mutual Exclusion

b.

Critical Section

c.

Synchronization

d.

All of them

Answer: (b).Critical Section

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Piece of code that only one thread can execute at a time is called

Similar Questions

Discover Related MCQs

Q. When there is enough memory to fit a process in memory, but the space is not contiguous we need

Q. Which memory allocation policy allocate the largest hole to the process?

Q. Dived logical memory into blocks with the same size as frames are called

Q. Which scheduler selects which processes should be brought into the ready queue?

Q. Which of the following is not the approach to Handling Deadlocks

Q. Bring a page into memory only when it is needed is called

Q. Page-Table length register (PTLR) indicates size of

Q. Paging is implemented in

Q. Virtual Memory

Q. Under virtual storage,

Q. Paging

Q. Which of the following is not true about the memory management?

Q. The principle of locality of reference justifies the use of

Q. In virtual memory systems, Dynamic address translation

Q. Which is not true about the memory management?

Q. Thrashing

Q. A process that execute only in main memory is referred to as ……………… and that allocated in disk is referred to a …………….

Q. Virtual memory can be implemented with

Q. Page fault frequency in an operating system is reduced when the

Q. A set of techniques that allow to execute a program which is not entirely in memory is called