1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: About: timeout handler of epicsTimer |
From: | Andrew Johnson <[email protected]> |
To: | Jun-ichi Odagiri <[email protected]> |
Cc: | "'EPICS tech-talk'" <[email protected]> |
Date: | Thu, 12 Jan 2006 18:02:18 -0600 |
I'm wondering if the following statement about epicsTimer is correct or not.
#Start of the statement Any handler of epicsTimer runs, when the timer expired, not in an interrupt context but in a normal task's (thread's) context. This goes for the case where the iocCore program is running on vxWorks or RTEMS, or whatever OS supported in Base. #End of the statement
What I'd like to know is, in other words, if a handler of epicsTimer is allowed to take semaphores in the handler or not.
I guess the statement is TRUE because I have found an example of a handler to call printf, in "IOC Application Developer's Guide (Chp.19, Section 10.4)".
- Andrew -- * * Matt Santos / / For a Brighter America * *