Hi
I'm writing an application which basically takes images from pixelink
camera and does some calculations on them.
I need to monitor the status of the system for 2 things: presence of
camera and connection to SQL server.
I also have a preview feature.
Right now it's all being done by a two timers (one for preview and
second for status) which run threads for status/preview.
On a decent Core 2 duo everything is quite smooth but on single core CPU
responsiveness of the application is not so good (sometimes main form is
frozen for couple of seconds).
How should i do those 2 processes so that they don't have an impact on
application performance?
Thx for any info!
I'm writing an application which basically takes images from pixelink
camera and does some calculations on them.
I need to monitor the status of the system for 2 things: presence of
camera and connection to SQL server.
I also have a preview feature.
Right now it's all being done by a two timers (one for preview and
second for status) which run threads for status/preview.
On a decent Core 2 duo everything is quite smooth but on single core CPU
responsiveness of the application is not so good (sometimes main form is
frozen for couple of seconds).
How should i do those 2 processes so that they don't have an impact on
application performance?
Thx for any info!
Comment