sysosh.inc 913 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2001 by Free Pascal development team
  4. This file implements all the base types and limits required
  5. for a minimal POSIX compliant subset required to port the compiler
  6. to a new OS.
  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. {Platform specific information}
  14. type
  15. {$ifdef CPU64}
  16. THandle = Int64;
  17. {$else CPU64}
  18. THandle = Longint;
  19. {$endif CPU64}
  20. TThreadID = THandle;
  21. TOSTimestamp = Longint;
  22. PRTLCriticalSection = ^TRTLCriticalSection;
  23. TRTLCriticalSection = record
  24. Locked: boolean
  25. end;