Program to find the day of the week for a given date
1.0 Day of Week The Gregorian calendar was adopted in 1582. The formula to find the day of the week for any date after 1582 is, d = N +…
1.0 Day of Week The Gregorian calendar was adopted in 1582. The formula to find the day of the week for any date after 1582 is, d = N +…
1.0 Shared Memory Shared memory is an inter process communication (IPC) mechanism in Linux and other UNIX-like systems. Based on input parameters, the kernel provides a (shared) memory segment to…
1.0 Shared Memory Shared memory is one of the three inter process communication (IPC) mechanisms available under Linux and other Unix-like systems. The other two IPC mechanisms are the message…
1.0 Queue A queue is something we see often in our daily lives. People stand in a queue to get into a bus, to get food in a buffet, buy…
1.0 POSIX Threads Synchronization POSIX Threads provide multiple flows of execution within a process. The threads have their own stacks but share the global data and the heap. So the…
1.0 POSIX threads A process is an execution environment in an operating system. A process has code and data segments which are initialized from a program during an exec system…
1.0 Semaphores Semaphores are used for process and thread synchronization. Semaphores are clubbed with message queues and shared memory under the Interprocess Communication (IPC) facilities in Unix-like systems such as…
1.0 Semaphores A semaphore is a mechanism for synchronizing processes and threads. Semaphore, in Unix-like systems, are provided under interprocess communication (IPC) facilities along with message queues and shared memory.…