PDA

View Full Version : Qt threading question..



tgreaves
22nd January 2009, 19:36
I am new to multi-threading so bear with me..

I have a class that goes out to our database and loads some data into the classes memory.. Currently there are like 5 different instances of this class.. Since its the same class but different instances of it, can all of the class run at the same time in different threads? The class is not a gui thread and it does use QString in it..

^NyAw^
23rd January 2009, 08:48
Hi,

Yes we can. Sorry, Yes you can :p

drhex
23rd January 2009, 12:00
Make sure you read the section about "Reentrancy and Thread-Safety" in "Thread Support in Qt", to be found "All overviews and HOWTOs" in the documentation.