Operating Systems

Operating Systems

C program of Macro Processor Opcode | C codechamp

C program of Macro processor : A macro processor is a program that reads a file (or files) and scans them for certain keywords. When a keyword is found, it is replaced by some text. The keyword or text combination is called a macro. A macro processor enables you to define and to use macros in your assembly programs....

C program of Banker’s Algorithm to avoid Deadlock

C program of banker's algorithm to avoid deadlock : Banker's algorithm is a resource allocation and deadlock avoidance algorithm developed by Edsger Dijkstra that tests for safety by simulating the allocation of predetermined maximum possible amounts of all resources, and then makes a "s-state" check to test for possible deadlock conditions for all other pending activities, before deciding whether...