systhrds.pp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2002 by the Free Pascal development team.
  5. MorphOS threading support implementation
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$mode objfpc}
  13. {$define dynpthreads}
  14. unit systhrds;
  15. interface
  16. {
  17. uses
  18. unixtype;
  19. }
  20. { Posix compliant definition }
  21. {$WARNING FIX ME!!! Dummy type definition}
  22. type
  23. PRTLCriticalSection = ^TRTLCriticalSection;
  24. TRTLCriticalSection = LongInt;
  25. { Include generic thread interface }
  26. {$i threadh.inc}
  27. implementation
  28. {*****************************************************************************
  29. Generic overloaded
  30. *****************************************************************************}
  31. { Include generic overloaded routines }
  32. {$i thread.inc}
  33. { Include OS independent Threadvar initialization }
  34. {$ifdef HASTHREADVAR}
  35. {$i threadvr.inc}
  36. {$endif HASTHREADVAR}
  37. Procedure InitSystemThreads;
  38. begin
  39. SetNoThreadManager;
  40. end;
  41. initialization
  42. InitSystemThreads;
  43. end.
  44. {
  45. $Log$
  46. Revision 1.1 2005-01-30 02:25:27 karoly
  47. + initial dummy implementation
  48. }