On Thursday 11 October 2007 09:05, Heinrich du Toit wrote:
> I think that missing data is not really a problem with records and
> thereforce device support for records.
>
> If all data is required it is most probably not a record but probably
> something like streamdevice or some custom record that can implement
> something else in the interrupt callback to make sure all data is
> processed.
>
> So I would lean towards a solution that put priority on the newest data
> out there.
>
> [...]
>
> I can't really think of a record that would mind missing data?
> The only thing I think of where this is important is for Octet with a
> communications interface - in which case StreamDevice is most likely
> used and not record device support.
I agree with Mark and Eric. It may not be a problem in /most/ situations if
interrupt are lost. However, there may be cases where this is a problem. I
can imagine a card wants to acknowlege completion of a long runnign
operation by issuing an interrupt. If multiple channels per card are
involved, and each one gets its own completion interrupt, we'll have a
problem indeed. Always remember Murphy's law ;-)
BTW, if solution 2 gets implemented, I'd make sure the interrupt queue size
can be configured by the user.
Cheers
Ben
- Replies:
- Re: ASYN - calling read after interrupt - fix :) Eric Norum
- References:
- RE: ASYN - calling read after interrupt - fix :) Mark Rivers
- RE: ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Navigate by Date:
- Prev:
Re: Use of waveform records Touchard Dominique
- Next:
JavaIOC Marty Kraimer
- 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: ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Next:
Re: ASYN - calling read after interrupt - fix :) 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
|