There are two main types of devices under all systems, character and block devices. Character devices are those for which no buffering is performed, and block devices are those which are accessed through a cache. Block devices must be random … Continue reading
A parallel port can generate interrupts when the voltage level on a certain input pin changes. The parallel port has to be instructed explicitly to generate interrupts and it is also possible to inhibit interrupts (e.g., while serving a previous … Continue reading
Timers are used to schedule execution of a function (a timer handler) at a particular time in the future. They thus work differently from task queues and in that you can specify when in the future your function will be … Continue reading
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting … Continue reading
The lseek() function repositions the offset of the file descriptor fildes to the argument offset according to the directive whence. The argument fildes must be an open file descriptor. Lseek() repositions the file position pointer associated with the file descriptor … Continue reading
The memset() Function To set all the bytes in a block of memory to a particular value, use memset(). The function prototype is void * memset(void *dest, int c, size_t count); The argument dest points to the block of memory. … Continue reading
Difference Between threads and processes Following are some of the major differences between the thread and the processes : Processes do not share their address space while threads executing under same process share the address space. From the above point … Continue reading
A socket is one end-point of a two-way communication link between two programs running on the network. A server application normally listens to a specific port waiting for connection requests from a client. When a connection request arrives, the client … Continue reading
Message queue is a circular queue which transfer data by giving a tag,tag is generally the id of the data package to be transfered and it differentiates the data from one another. Message queuing allows distributed applications to communicate asynchronously … Continue reading
Its a synchronization mechanism in which one process can access shared resource at one time and other processes are in a wait stage.Its used in synchronizing multiple processes.The processes are in a queue,when semaphore increments or when its greater than … Continue reading
fork is an operation or a process which creates a copy of itself. It is usually a system call, implemented in the kernel. Fork is the primary method of process creation on Unix-like operating systems. If fork() returns a negative … Continue reading
Time taken to give low input or low voltage plus closing of a switch and the propagation time is known as Bit Recognition Time(BRT).The switch is connected to the Flip Flop,thus input is entered into the flip flop. If threshold … Continue reading