[Qt-interest] QGraphicsItem and Threads

Andreas Pakulat apaku at gmx.de
Tue Oct 20 10:06:49 CEST 2009


On 20.10.09 09:38:07, Ole Streicher wrote:
> Andreas Pakulat <apaku at gmx.de> writes:
> > On 19.10.09 16:21:40, Ole Streicher wrote:
> >> What is a bit disappointing is that I have already a multithreading
> >> capable operating system on a multiprocessor kernel and I still have
> >> to implement some kind of cooperative multitasking by hand. OK, lets
> >> go back to the beginning of the 90ths :-)
> 
> > Well, thats where the common graphical systems come from (X11 is even
> > older) so its no surprise that they're not thread-safe.
> 
> From a modern GUI library I would expect to solve this problem. 

Uhm, Qt does solve it, it enforces GUI operations to happen only in the GUI
thread. How else should it solve this, except by implementing its on X
Server (for linux, no idea how things are on windows or MacOX)?? 

Andreas

-- 
You will experience a strong urge to do good; but it will pass.



More information about the Qt-interest-old mailing list