classes: since AThreads supports suspended thread creation, enable resume code in AfterConstruction for Amiga-like platforms too

git-svn-id: trunk@30941 -
This commit is contained in:
Károly Balogh 2015-05-31 09:37:43 +00:00
parent eacc41d3b3
commit cdea58317e

View File

@ -236,7 +236,7 @@ begin
// enable for all platforms once http://bugs.freepascal.org/view.php?id=16884
// is fixed for all platforms (in case the fix for non-unix platforms also
// requires this field at least)
{$if defined(unix) or defined(windows) or defined(os2)}
{$if defined(unix) or defined(windows) or defined(os2) or defined(hasamiga)}
if not FExternalThread and not FInitialSuspended then
Resume;
{$endif}