Signal processors are generally quite complex. It is so very complicated that usually the only safe operation that must be performed inside them is to set the flag βreceived signalβ, and then let the main loop (or in a multi-threaded application a special signal processing stream) of the program perform the actual signal processing.
source share