[Qt-interest] QThread reinitialization

Thiago Macieira thiago.macieira at trolltech.com
Fri Jun 5 08:34:23 CEST 2009


Patric wrote:
>I have a question regarding QThread. Let say we have a QThread object.
> We start the thread. After the run() method finishes, can we again call
> the "start()" method ? Or we have to create a new object and then start
> the method again.

Calling start() again is perfectly possible.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090605/097ccae5/attachment.bin 


More information about the Qt-interest-old mailing list