EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ASYN - weird
From: Andrew Johnson <[email protected]>
To: Heinrich du Toit <[email protected]>
Cc: TechTalk EPICS <[email protected]>
Date: Fri, 07 Sep 2007 09:37:33 -0500
Heinrich du Toit wrote:
Why is CreateUser called twice with different asynUser's ??

I've seen this dual-called behaviour of DrvUser before in my other
drivers. This time I would like to figure it out :)

An asynUser is a structure that Asyn uses to hold information about an individual I/O transaction (the name is unfortunate, it's not very descriptive of what it really does). Asyn needs one of these for each independent transaction that could conceivably be active at once â typically that will be one or possibly two per record as Mark Rivers described, but that choice is completely up to whatever is connecting to the port. Your port code should be written to accept any number of asynUser objects presented to it; the Asyn code provides the locking and queuing that ensures only one of them can be active at any time.


- Andrew
--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

References:
ASYN - weird Heinrich du Toit

Navigate by Date:
Prev: RE: ASYN - weird Mark Rivers
Next: RE: CA server problem on caserverio.c Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: ASYN - weird Mark Rivers
Next: epics vxworks time off by 1 hour Dennis Nicklaus
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·