tthread.inc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. $Id$
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1999-2000 by the Free Pascal development team
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {****************************************************************************}
  12. {* TThread *}
  13. {****************************************************************************}
  14. procedure TThread.CallOnTerminate;
  15. begin
  16. end;
  17. function TThread.GetPriority: TThreadPriority;
  18. begin
  19. GetPriority:=tpNormal;
  20. end;
  21. procedure TThread.SetPriority(Value: TThreadPriority);
  22. begin
  23. end;
  24. procedure TThread.SetSuspended(Value: Boolean);
  25. begin
  26. end;
  27. procedure TThread.DoTerminate;
  28. begin
  29. end;
  30. constructor TThread.Create(CreateSuspended: Boolean);
  31. begin
  32. {IsMultiThread := TRUE; }
  33. end;
  34. destructor TThread.Destroy;
  35. begin
  36. end;
  37. procedure TThread.Resume;
  38. begin
  39. end;
  40. procedure TThread.Suspend;
  41. begin
  42. end;
  43. procedure TThread.Terminate;
  44. begin
  45. end;
  46. function TThread.WaitFor: Integer;
  47. begin
  48. WaitFor:=0;
  49. end;
  50. {
  51. $Log$
  52. Revision 1.3 2005-02-25 21:41:09 florian
  53. * generic tthread.synchronize
  54. * delphi compatible wakemainthread
  55. Revision 1.2 2005/02/14 17:13:22 peter
  56. * truncate log
  57. }