~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to rtl/os2/sysosh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2005-05-30 11:59:10 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050530115910-x5pbzm4qqta4i94h
Tags: 2.0.0-2
debian/fp-compiler.postinst.in: forgot to reapply the patch that
correctly creates the slave link to pc(1).  (Closes: #310907)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    $Id: sysosh.inc,v 1.3 2005/04/14 21:17:51 hajny Exp $
 
3
    This file is part of the Free Pascal run time library.
 
4
    Copyright (c) 2001 by Free Pascal development team
 
5
 
 
6
    This file implements all the base types and limits required
 
7
    for a minimal POSIX compliant subset required to port the compiler
 
8
    to a new OS.
 
9
 
 
10
    See the file COPYING.FPC, included in this distribution,
 
11
    for details about the copyright.
 
12
 
 
13
    This program is distributed in the hope that it will be useful,
 
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
16
 
 
17
 **********************************************************************}
 
18
 
 
19
{Platform specific information}
 
20
type
 
21
  THandle = Longint;
 
22
  TThreadID = cardinal;
 
23
  
 
24
  { the fields of this record are os dependent  }
 
25
  { and they shouldn't be used in a program     }
 
26
  { only the type TCriticalSection is important }
 
27
  PRTLCriticalSection = ^TRTLCriticalSection;
 
28
  TRTLCriticalSection = packed record
 
29
    DebugInfo : pointer;
 
30
    LockCount : longint;
 
31
    RecursionCount : longint;
 
32
    OwningThread : DWord;
 
33
    LockSemaphore : DWord;
 
34
    Reserved : DWord;
 
35
  end;
 
36
 
 
37
 
 
38
{
 
39
   $Log: sysosh.inc,v $
 
40
   Revision 1.3  2005/04/14 21:17:51  hajny
 
41
     * TThreadID changed to cardinal
 
42
 
 
43
   Revision 1.2  2005/04/13 20:10:50  florian
 
44
     + TThreadID
 
45
 
 
46
   Revision 1.1  2005/02/06 16:57:18  peter
 
47
     * threads for go32v2,os,emx,netware
 
48
 
 
49
   Revision 1.1  2005/02/06 13:06:20  peter
 
50
     * moved file and dir functions to sysfile/sysdir
 
51
     * win32 thread in systemunit
 
52
 
 
53
}
 
54