tthread.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. This file is part of the Free Component Library (FCL)
  3. Copyright (c) 1999-2000 by the Free Pascal development team
  4. See the file COPYING.FPC, included in this distribution,
  5. for details about the copyright.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. **********************************************************************}
  10. {****************************************************************************}
  11. {* TThread *}
  12. {****************************************************************************}
  13. procedure TThread.CallOnTerminate;
  14. begin
  15. end;
  16. function TThread.GetPriority: TThreadPriority;
  17. begin
  18. GetPriority:=tpNormal;
  19. end;
  20. procedure TThread.SetPriority(Value: TThreadPriority);
  21. begin
  22. end;
  23. procedure TThread.SetSuspended(Value: Boolean);
  24. begin
  25. end;
  26. procedure TThread.DoTerminate;
  27. begin
  28. end;
  29. procedure TThread.SysCreate(CreateSuspended: Boolean; const StackSize: SizeUInt);
  30. begin
  31. {IsMultiThread := TRUE; }
  32. end;
  33. procedure TThread.SysDestroy;
  34. begin
  35. end;
  36. procedure TThread.Resume;
  37. begin
  38. end;
  39. procedure TThread.Suspend;
  40. begin
  41. end;
  42. function TThread.WaitFor: Integer;
  43. begin
  44. WaitFor:=0;
  45. end;