EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Linux and EPICS threads
From: "Mark Rivers" <[email protected]>
To: "Andrew Johnson" <[email protected]>
Cc: <[email protected]>
Date: Wed, 30 Jul 2003 11:13:19 -0500
Andrew Johnson wrote:

> You will need to worry about more than one thread - each 
> different scan period has its own thread, so it just takes the user
changing 
> the SCAN field of the record for your code to have to call iopl(3) yet

> again, and if it's set to Process Passive then there are several other

> tasks that might be used depending on how the processing is initiated.

Actually, it's not that bad in my case.  All of the actual I/O is done
by an MPF server task.  Device support just sends messages to the MPF
server, so the tasks that process the record do not need iopl()
privilege.

I've got it working by calling iopl() in the MPF server task
initialization.  It's not as clean as I'd like, because it requires some
#ifdef linux code, but it's OK.

Cheers,
Mark


Replies:
Re: Linux and EPICS threads Eric Norum

Navigate by Date:
Prev: Re: Linux and EPICS threads Andrew Johnson
Next: Re: Linux and EPICS threads Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Linux and EPICS threads Jun-ichi Odagiri
Next: Re: Linux and EPICS threads Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·