Operating System Programming and Technical

Q. What is cycle stealing?

A. We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.

Read Solution (Total 0)

Operating System Other Question

Q. Explain the meaning of mutex.

A. Mutex is the short form for Mutual Exclusion object. A mutex allows multiple threads for sharing the same resource. The resource can be file. A mutex with a unique name is created at the time of starting a program. A mutex must be locked from other threads, when any thread that needs the resource. When the data is no longer used / needed, the mutex is set to unlock.
Q. What is Marshalling?

A. The process of packaging and sending interface method parameters across thread or process boundaries.