systhrds.pp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2002 by Peter Vreman,
  5. member of the Free Pascal development team.
  6. Dummy implementation for platforms not having real one
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. unit systhrds;
  14. {$mode objfpc}
  15. interface
  16. type
  17. PRTLCriticalSection = ^TRTLCriticalSection;
  18. TRTLCriticalSection = record
  19. Locked: boolean
  20. end;
  21. { Include generic thread interface }
  22. {$i threadh.inc}
  23. implementation
  24. { Include generic overloaded routines }
  25. {$i thread.inc}
  26. { Include OS independent threadvar initialization }
  27. {$ifdef HASTHREADVAR}
  28. {$i threadvr.inc}
  29. {$endif HASTHREADVAR}
  30. initialization
  31. SetNoThreadManager;
  32. end.
  33. {
  34. $Log$
  35. Revision 1.1 2005-01-21 21:43:12 armin
  36. * applied patch to compile go32v2 from Tomas (tested by John)
  37. }