EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: dbScan.c: periodicTask( ), initOnce( ), ...
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 10 Jan 2013 11:04:30 -0600
Hi Jack,

Eric answered Q1, I'll tackle Q2:

On 2013-01-10 Jack Smith wrote:
> 2. Why do we need initOnce( ) in scanInit( )?

The IOC initialization code calls scanInit() at the appropriate time during 
iocInit(), the purpose of which is to initialize the dbScan subsystem, i.e. 
create data the structures it needs and start its threads.  The three local 
routines initOnce(), initPeriodic() and initEvent() that scanInit() calls 
initialize the three different kinds of scan operation supported by the dbScan 
subsystem: The initOnce() routine configures and starts the "scanOnce" thread, 
initPeriodic() counts and configures (but doesn't actually start) the periodic 
scan threads, and initEvent() configures the "scanEvent" data structures.

HTH,

- Andrew
-- 
There is no such thing as a free lunch.  When invited for lunch,
it is best to check if you are there to eat, or to be eaten.
-- Clive Robinson

Replies:
RE: dbScan.c: periodicTask( ), initOnce( ), ... Hu, Yong
References:
dbScan.c: periodicTask( ), initOnce( ), ... Jack Smith

Navigate by Date:
Prev: duplicating process variables James F Ross
Next: Re: duplicating process variables Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: dbScan.c: periodicTask( ), initOnce( ), ... Eric Norum
Next: RE: dbScan.c: periodicTask( ), initOnce( ), ... Hu, Yong
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·