Interrupt Handling Alternatives

INtime provides several alternatives that a programmer may choose from:
- Handler only
This is rather uncommon, as the handler is not allowed to execute any INtime functions (with a few exceptions related to interrupt handling).
- Handler and interrupt thread
This is the most common choice, as it allows the programmer to distribute the work between the handler (most time critical actions, but no INtime functions) and the thread (less time critical, normal INtime environment with thread priority bound to interrupt level).
- Handler with service thread and low-level mailbox or semaphore
When an interrupt must be processed by more than one thread, the fixed handler-thread model can be too restrictive; instead, the INtime kernel offers some low-level functions that allow a handler to use low level mailboxes and semaphores to trigger service threads.
 
We recommend you have the INtime Wizards in VisualStudio create respective sources. Just add your specific logic according to your application.