[Qt-interest] Signal/Slot model is suitable for GUI applications but it isn't for console applications

Sean Harmer sean.harmer at maps-technology.com
Mon Aug 23 14:54:28 CEST 2010


On Monday 23 August 2010 13:45:10 Valeriy Portnyagin wrote:
> hi all,
> 
> Could i say that Signal/Slot model is suitable for GUI applications but it
> isn't  for console applications?

Not necessarily. We have several daemon applications written using Qt which 
utilise multiple threads.

> I am developing a console application with many threads. I am using the
> signals and slots between the threads.
> How much performance of my application will be worse at usage of
> Signal/Slot model?

Compared to what? I assume you mean for inter-thread communication but what 
other method are you comparing it too?

Best way to tell is to benachmark the competing approaches.

Sean



More information about the Qt-interest-old mailing list