EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022 
<== Date ==> <== Thread ==>

Subject: Re: ringPointerTest
From: Andrew Johnson <[email protected]>
To: EPICS core-talk <[email protected]>
Date: Tue, 18 Nov 2014 18:15:54 -0600
On 11/18/2014 05:02 PM, Andrew Johnson wrote:
> Actually I even get that when I run the test in a priority=100 thread
> (VxWorks task priorities go from 1=highest to 255=lowest).

... but we only use a subset of those priorities.

Fixed by doing as I originally suggested and setting the thread priority
to something in the middle before running the testPair() subroutines. I
committed that change.

Now I'm getting a failure in scanIoTest on VxWorks 5.5.2, 68K:

***** scanIoTest *****
1..10
Starting iocInit
############################################################################
## EPICS R3.15.0.2-DEV $$Date: Tue 2014-10-07 01:50:24 -0500 $$
## EPICS Base built Nov 18 2014
############################################################################
iocRun: All initialization complete
# Testing single callback thread
#     using 11 ioscan sources, 5 records for each, and 101 loops
ok  1 - No out-of-order processing
not ok  2 - All per-record process counters match number of loops


This was apparently caused by the test not waiting long enough for the
callback threads to finish because changing the epicsThreadSleep() delay
from 0.1 to 1.0 was enough to resolve that.

Committed.

Now all tests pass on vxWorks-68040. More tomorrow.

- Andrew
-- 
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling

References:
ringPointerTest Andrew Johnson
Re: ringPointerTest Michael Davidsaver
Re: ringPointerTest Andrew Johnson
Re: ringPointerTest Andrew Johnson

Navigate by Date:
Prev: Re: 3.15.0.2: Shutdown issues Benjamin Franksen
Next: Re: ringPointerTest Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022 
Navigate by Thread:
Prev: Re: ringPointerTest Andrew Johnson
Next: Re: ringPointerTest Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022 
ANJ, 18 Nov 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·