[Development] Deprecate the QThread::terminated() signal?

Thiago Macieira thiago.macieira at intel.com
Mon Oct 15 17:00:00 CEST 2012


On segunda-feira, 15 de outubro de 2012 14.53.39, Olivier Goffart wrote:
> > Is there any value in keeping a signal that is:
> > - Only emitted after the program destabilises, and
> > - Not even guaranteed to be emitted?
> 
> I even go as far as removing it.
> Source compatibility is not really broken since you will just get a runtime 
> warning saying the signal don't exist.

Agreed.

The terminated signal works properly if and only if the thread terminates in 
synchronous termination mode and the cleanup handlers are run. If the thread 
is killed or terminated asynchronously, or if the handlers aren't run, all 
bets are lost.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121015/f968ba7f/attachment.sig>


More information about the Development mailing list