Deadlock Prevention
Deadlock prevention means to prevent at least one of the necessary conditions from occurring. The methods to prevent the individual conditions are discussed below:
/**/
Deadlock prevention means to prevent at least one of the necessary conditions from occurring. The methods to prevent the individual conditions are discussed below:
Deadlock is a situation which occurs when a process or thread enters a waiting state because a resource requested is being held by another waiting process,
Program to create two threads: one to increment the value of a shared variable and second to decrement the value of shared variable.
There are three basic page replacement algorithms: first in first out, least recently used and
Program to create threads using C in Linux
#include
#include
void *function1();
void *function2();
In paging the physical address space of a process is non-contiguous. Paging is implemented using frames and pages.
Memory management is one of the most important functions of an operating system. The working of a computer system majorly depends on two components: Memory and CPU
Loading…
chmod command in linux is used to change existing permissions of files/directories. chmod [OPTION]… MODE… FILE… . e.g. $chmod u+x file.txt