g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: About: timeout handler of epicsTimer
From: "Jun-ichi Odagiri" <jun-ichi.odagiri@kek.jp>
To: "'EPICS tech-talk'" <tech-talk@aps.anl.gov>
Date: Thu, 12 Jan 2006 10:14:22 +0900
Dear All,

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)".
Still, I feel I need to confirm it more...

Thanks a lot in advance.

Jun-ichi Odagiri
High Energy Accelerator Research Organization, KEK
Oho 1-1, Tsukuba, Ibaraki, Japan


Replies:
Re: About: timeout handler of epicsTimer Andrew Johnson

Navigate by Date:
Prev: RE: pv connect/disconnect callbacks Jeff Hill
Next: Re: orderly shutdown Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: RE: pv connect/disconnect callbacks Jeff Hill
Next: Re: About: timeout handler of epicsTimer Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·