thread.inc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.Synchronize(Method: TThreadMethod);
  30. begin
  31. end;
  32. constructor TThread.Create(CreateSuspended: Boolean);
  33. begin
  34. { Should set the following variable to TRUE before }
  35. { creating the new thread: }
  36. IsMultiThread := TRUE;
  37. end;
  38. destructor TThread.Destroy;
  39. begin
  40. end;
  41. procedure TThread.Resume;
  42. begin
  43. end;
  44. procedure TThread.Suspend;
  45. begin
  46. end;
  47. procedure TThread.Terminate;
  48. begin
  49. end;
  50. function TThread.WaitFor: Integer;
  51. begin
  52. WaitFor:=0;
  53. end;