Because of the need to respond to timing demands made by different stimuli/responses, the system architecture must allow for fast switching between stimulus handlers.
Timing demands of different stimuli are different so a simple sequential loop is not usually adequate.
Real-time systems are therefore usually designed as cooperating processes with a real-time executive controlling these processes.