From 418dee8f80affe075e5c25561bac541dffa05a8d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Jan 2017 13:02:38 -0600 Subject: c-user/ada_support.rst: Discuss timer server and interrupt threads --- c-user/ada_support.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'c-user') diff --git a/c-user/ada_support.rst b/c-user/ada_support.rst index 9311f93..b3a61f9 100644 --- a/c-user/ada_support.rst +++ b/c-user/ada_support.rst @@ -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 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. + -- cgit v1.2.3