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
<2003>
2004
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
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|