Real Time Drawing Problems Solved!!!

2005-03-17 Thread Athanasios Anastasiou
Hello All I am sending this message to say a big thank you to: John Cuppit Dave Andruczyk John Coppens and Liam Quin who provided helpful comments regarding the real time drawing problem. There are two threads in my application that handle reading and decoding from the serial port and ploting of

Re: Real Time Drawing

2005-03-16 Thread John Cupitt
On Wed, 16 Mar 2005 09:14:38 +, Athanasios Anastasiou <[EMAIL PROTECTED]> wrote: > After some directions from Liam (see yesterdays mailing archive) i > passed my app through valgrind and found out that there are too many > errors happening in the GTK / X level. I suppose that it has something >

Re: Real Time Drawing

2005-03-16 Thread Athanasios Anastasiou
Thanks for your email and the helpful information John. After some directions from Liam (see yesterdays mailing archive) i passed my app through valgrind and found out that there are too many errors happening in the GTK / X level. I suppose that it has something to do with the way i am using the

Re: Real Time Drawing

2005-03-15 Thread John Cupitt
Hi, On Tue, 15 Mar 2005 09:57:24 +, Athanasios Anastasiou <[EMAIL PROTECTED]> wrote: > Also could it be better that i add an expose_event handler to the widget > i want to draw and just post invalidate messages towards the widget from > the thread? I do something similar in my app. I have a

Re: Real Time Drawing

2005-03-15 Thread Athanasios Anastasiou
Hello Liam Thank you very much for your view on this matter. >Multi-threaded applications sometimes get into trouble if more than one thread is trying to communicate with the X server at the same time. Sounds reasonable but this is not the case with my application...There is only one thread tryin

Re: Real Time Drawing

2005-03-14 Thread John Coppens
On Mon, 14 Mar 2005 12:48:04 -0500 "Liam R. E. Quin" <[EMAIL PROTECTED]> wrote: > On Mon, 2005-03-14 at 17:18 +, Athanasios Anastasiou wrote: > > > There are two threads of execution, one is handling reading and > > decoding of the incoming stream of data and the other is handling > > process

Re: Real Time Drawing

2005-03-14 Thread Liam R. E. Quin
On Mon, 2005-03-14 at 17:18 +, Athanasios Anastasiou wrote: > There are two threads of execution, one is handling reading and decoding > of the incoming stream of data and the other is handling processing. Multi-threaded applications sometimes get into trouble if more than one thread is tryi

Real Time Drawing

2005-03-14 Thread Athanasios Anastasiou
Hello All I am building an application that monitors a signal that is being digitized and the samples are delivered to the serial port. There are two threads of execution, one is handling reading and decoding of the incoming stream of data and the other is handling processing. For the time proc