The UK Home Automation Archive

Archive Home
Group Home
Search Archive

Advanced Search

[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: xFx Error

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Hi Guys

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?

When the exceptions were occurring in the TX and RX threads it was losing
data :(

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.
So far I have not had one of these exceptions occur. Although the display
does run behind the actual events sometimes.



From: Edward Pearson [mailto:edward.mailgroup@xxxxxxx]
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


From: Stuart Booth [mailto:lists@xxxxxxx]
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:

>I have been working on my connector for the last few days and now that
>writing quite a lot of messages to the GUI Runtime display the
>error is occurring from time to time.


>Any ideas? Or is it just that I'm writing to many messages to the

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.

Just ignore it for now if you can, it's a 'feachur' ;-) I'll dig it up
if I can.

Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.