[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: xFx Error
------_=_NextPart_001_01C53382.A4963680
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Listview is based on a collection class isn't it? There are a few
limitations with multi threaded apps and collections, depending on how
you've implemented things.
=20
Regards
=20
Phil
=20
________________________________
From: Paul Barrett [mailto:pbarrett@xxxxxxx]=20
Sent: 28 March 2005 11:00
To: xAP_developer@xxxxxxx
Subject: RE: [xAP_developer] xFx Error
=20
Hi Guys
=20
I found that this exception occurs more often when more threads are
outputting messages at the same time.
Perhaps the List View is not thread safe?
=20
When the exceptions were occurring in the TX and RX threads it was
losing data :(
=20
So I tried making a queue (similar to the xAPQueue that Edward uses in
the X10 connector) for the messages and having a single thread to call
the OutputMessage() function.=20
So far I have not had one of these exceptions occur. Although the
display does run behind the actual events sometimes.
=20
Regards
Paul
=09=20
=09
________________________________
From: Edward Pearson [mailto:edward.mailgroup@xxxxxxx]=20
Sent: 27 March 2005 23:03
To: xAP_developer@xxxxxxx
Subject: RE: [xAP_developer] xFx Error
Yes, the X10 connector gets it too - I just ignore it, nothing
seems to go amiss.
=09=20
=09
________________________________
From: Stuart Booth [mailto:lists@xxxxxxx]=20
Sent: 27 March 2005 22:23
To: xAP_developer@xxxxxxx
Subject: Re: [xAP_developer] xFx Error
On Sun, 27 Mar 2005 18:38:56 +0100, "Paul Barrett"
<pbarrett@xxxxxxx> wrote:
=09
>I have been working on my connector for the last few days and
now that it is
>writing quite a lot of messages to the GUI Runtime display the
following
>error is occurring from time to time.
=09
[munch]
=09
>Any ideas? Or is it just that I'm writing to many messages to
the display?
=09
Oh, it's not you, that's a long standing error of mine that I've
only
ever seen now and then and never looked into too deeply. It's
not
terribly reproduceable from what I recall.
=09
Just ignore it for now if you can, it's a 'feachur' ;-) I'll dig
it up
if I can.
=09
S
--=20
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET
=09
http://www.xapautomation.org/
http://www.xapframework.net/
=09
=09
=09
=09
=09
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|