g+
g+ Communities
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  <2013 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
<== Date ==> <== Thread ==>

Subject: Re: dbScan.c: periodicTask( ), initOnce( ), ...
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov
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  <2013
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  <2013
ANJ, 10 Jan 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·