You've already forked lazarus-ccr
mtprocs: update for deprecated Thread.Resume
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1821 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -792,7 +792,11 @@ begin
|
||||
AThread.AddToList(FFirstActiveThread,mtptlPool);
|
||||
AThread.Item.FState:=mtptsActive;
|
||||
if NewThread then
|
||||
{$IF defined(VER2_4_2) or defined(VER2_4_3)}
|
||||
AThread.Resume
|
||||
{$ELSE}
|
||||
AThread.Start
|
||||
{$ENDIF}
|
||||
else
|
||||
RTLeventSetEvent(AThread.Item.fWaitForPool);
|
||||
end;
|
||||
|
Reference in New Issue
Block a user