-
-
-
-
-
-
What algorithm does UNIX and windows use to deal with deadlocks
Ostrich algorithm
-
What is a static function?
A static function is a function whose scope is limited to the current source file. Scope refers to the visibility of a function or variable. If the function or variable is visible outside of the current source file, it is said to have global, or external, scope. If the function or variable is not visible outside of the current source file, it is said to have local, or static, scope.
-
How can I sort things that are too large to bring into memory?
A sorting program that sorts items that are on secondary storage (disk or tape) rather than primary storage (memory) is called an external sort. Exactly how to sort large data depends on what is meant by �too large to fit in memory.� If the items to be sorted are themselves too large to fit in memory (such as images), but there aren�t many items, you can keep in memory only the sort key and a value...
-
What is Dispatcher?
->Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves:Switching contextSwitching to user modeJumping to the proper location in the user program to restart that program Dispatch latency � time it takes for the dispatcher to stop one process and start another running.