thread.inc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. procedure TThread.Synchronize(Method: TThreadMethod);
  31. begin
  32. end;
  33. constructor TThread.Create(CreateSuspended: Boolean);
  34. begin
  35. { Should set the following variable to TRUE before }
  36. { creating the new thread: }
  37. IsMultiThread := TRUE;
  38. end;
  39. destructor TThread.Destroy;
  40. begin
  41. end;
  42. procedure TThread.Resume;
  43. begin
  44. end;
  45. procedure TThread.Suspend;
  46. begin
  47. end;
  48. procedure TThread.Terminate;
  49. begin
  50. end;
  51. function TThread.WaitFor: Integer;
  52. begin
  53. WaitFor:=0;
  54. end;
  55. {
  56. $Log$
  57. Revision 1.4 2002-09-07 15:15:28 peter
  58. * old logs removed and tabs fixed
  59. }