Multi Thread
Posted: Fri Oct 10, 2008 9:34 am
Hi,
I have a question. I am writing multithread application. One thread is for reading data from device and other is meant to represent data on graphs or save data to files (i haven't program that already so it is only idea). I saw in articel about real-time charting
// When using only a single thread, disable locking:
Chart1.Canvas.ReferenceCanvas.Pen.OwnerCriticalSection := nil;
Series1.LinePen.OwnerCriticalSection := nil;
Well I wonder how to use that kind of locking? Is there any concrete example how to use it with TeeChart and TFastLineSeries?
Thank you
Aljosa
I have a question. I am writing multithread application. One thread is for reading data from device and other is meant to represent data on graphs or save data to files (i haven't program that already so it is only idea). I saw in articel about real-time charting
// When using only a single thread, disable locking:
Chart1.Canvas.ReferenceCanvas.Pen.OwnerCriticalSection := nil;
Series1.LinePen.OwnerCriticalSection := nil;
Well I wonder how to use that kind of locking? Is there any concrete example how to use it with TeeChart and TFastLineSeries?
Thank you
Aljosa