NVIDIA Interview Question
Software Engineer / Developerssignal is a form of interprocess communication .It is an asynchronous noticification sent to a process or specific thread.when a signal is sent the operating system interrupt the target process's normal flow of execution.
Interrupt is a signal that is generated by hardware or software that need 's immediate attention . an inetrrupt alert the processor to a high priority condition requiring the interruption of the current code that processor is executing .then processor responds by suspending it's current activity and execute a small program called interrupt handler to deal that event .
Signal is a form of Inter process communication between in a multiprocessing environment. Interrupts are of two types- Software and Hardware. Both these forms stops what the CPU is currently doing and executes the interrupt service routine (handler).
- Ash July 31, 2009example of Hardware interrupt : Trap, Interrupt from an I/O device.
Software Interrupt : System call, exception etc.
Hope this helps,