TThread.resume is deprecated in Delphi-2010 what should be used in place?

Posted by Charles Faiga on Stack Overflow See other posts from Stack Overflow or by Charles Faiga
Published on 2009-09-13T17:39:02Z Indexed on 2010/03/09 3:21 UTC
Read the original article Hit count: 391

Filed under:
|

In my multithread application

I use TThread.suspend and TThread.resume

Since moving my application to Delphi 2010 I get the following warring message

[DCC Warning] xxx.pas(277): W1000 Symbol ‘Resume’ is deprecated

If Resume is deprecated what should be used in place?

EDIT 1:

I use the Resume command to start the thread - as it is Created with 'CreateSuspended' set to True and Suspend before I terminate the thread.

EDIT 2:

Here is a link the delphi 2010 manual

© Stack Overflow or respective owner

Related posts about delphi

Related posts about delphi-2010