What is a Device Driver? Making hardware work is tedious. To write to a hard disk, for example, requires that you write magic numbers in magic places, wait for the hard drive to say that it is ready to receive … Continue reading
Abstract: The POSIX thread libraries are a standards based thread API for C/C++. It allows one to spawn a new concurrent process flow. It is most effective on multi-processor or multi-core systems where the process flow can be scheduled to … Continue reading
Most interprocess communication uses the client server model. These terms refer to the two processes which will be communicating with each other. One of the two processes, the client, connects to the other process, the server, typically to make a … Continue reading
DESCRIPTION A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem. It can be opened by multiple processes for reading or writing. When processes are exchanging data via … Continue reading
Semaphores Semaphores are used to protect critical regions of code or data structures. Remember that each access of a critical piece of data such as a VFS inode describing a directory is made by kernel code running on behalf of … Continue reading
DISCRIPTION-> Pipe-> it is a unidirectional channel that is used in inter process commmunication ,in pipe two file discriptor is used these are fd(0)=read & fd(1)=write RETURN VALUE-> on success zero is returned,if error -1 is returned
Malloc-> It is used to allocate memory at run time in to the RAM. The prototype function is used is in stdlib.h, Syntax-> ptr=int * (malloc) (sizeof bytes)