c-user/ada_support.rst: Discuss timer server and interrupt threads

This commit is contained in:
Joel Sherrill 2017-01-19 13:02:38 -06:00
parent 97e1553c06
commit 418dee8f80

View File

@ -90,3 +90,10 @@ to violating assumptions in the GNAT run-time. Specifically a priority
ceiling mutex should never be used from an ISR and it is difficult to ceiling mutex should never be used from an ISR and it is difficult to
predict when the Ada compiler or run-time will use a mutex. predict when the Ada compiler or run-time will use a mutex.
RTEMS has two capabilities which can assist in avoiding this problem. The
Classic API Timer Manager allows the creation of Timer Service Routines
which execute in the context of a task rather than the clock tick
Interrupt Service Routine. Similarly, there is support for Interrupt Tasks
which is a mechanism to defer the processing of the event from the
hardware interrupt level to a thread.