mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 03:02:38 +02:00

U rtl/morphos/system.pp U rtl/amicommon/sysosh.inc U rtl/amicommon/sysos.inc U rtl/amiga/system.pp --- Recording mergeinfo for merge of r30991 into '.': U . --- Merging r30992 into '.': U rtl/amicommon/athreads.pp --- Recording mergeinfo for merge of r30992 into '.': G . --- Merging r30993 into '.': U packages/rtl-extra/src/amiga/sockets.pp D packages/rtl-extra/src/morphos U packages/rtl-extra/fpmake.pp --- Recording mergeinfo for merge of r30993 into '.': G . --- Merging r30994 into '.': G packages/rtl-extra/src/amiga/sockets.pp --- Recording mergeinfo for merge of r30994 into '.': G . --- Merging r30995 into '.': U packages/morphunits/src/utility.pas --- Recording mergeinfo for merge of r30995 into '.': G . --- Merging r30996 into '.': U packages/morphunits/src/exec.pas --- Recording mergeinfo for merge of r30996 into '.': G . --- Merging r30997 into '.': U packages/morphunits/src/amigalib.pas --- Recording mergeinfo for merge of r30997 into '.': G . --- Merging r30998 into '.': U packages/amunits/src/coreunits/exec.pas --- Recording mergeinfo for merge of r30998 into '.': G . --- Merging r30999 into '.': G packages/morphunits/src/amigalib.pas --- Recording mergeinfo for merge of r30999 into '.': G . --- Merging r31000 into '.': G packages/morphunits/src/exec.pas --- Recording mergeinfo for merge of r31000 into '.': G . --- Merging r31001 into '.': U packages/amunits/src/coreunits/amigalib.pas --- Recording mergeinfo for merge of r31001 into '.': G . --- Merging r31005 into '.': U utils/fpcres/fpmake.pp --- Recording mergeinfo for merge of r31005 into '.': G . # revisions: 30991,30992,30993,30994,30995,30996,30997,30998,30999,31000,31001,31005 git-svn-id: branches/fixes_3_0@31097 -
48 lines
1.4 KiB
PHP
48 lines
1.4 KiB
PHP
{
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 2001 by Free Pascal development team
|
|
|
|
This file implements all the base types and limits required
|
|
for a minimal POSIX compliant subset required to port the compiler
|
|
to a new OS.
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
|
|
{Platform specific information}
|
|
type
|
|
{$ifdef CPU64}
|
|
THandle = Int64;
|
|
{$else CPU64}
|
|
THandle = LongInt;
|
|
{$endif CPU64}
|
|
TThreadID = THandle;
|
|
|
|
PRTLCriticalSection = ^TRTLCriticalSection;
|
|
{$IFDEF AROS}
|
|
TRTLCriticalSection = Pointer;
|
|
{$ELSE}
|
|
TRTLCriticalSection = record
|
|
{ This must actually be bigger or equal to sizeof(TSignalSemaphore)
|
|
which seems to be 46 bytes on MorphOS and Amiga/m68k. }
|
|
semaphore: array[0..63] of byte;
|
|
end;
|
|
{$ENDIF}
|
|
|
|
{ BeginThread flags we support in AThreads }
|
|
const
|
|
CREATE_SUSPENDED = 1;
|
|
STACK_SIZE_PARAM_IS_A_RESERVATION = 2;
|
|
|
|
{ Thread Init/Exit Procedure support }
|
|
Procedure AddThreadInitProc(Proc: TProcedure);
|
|
Procedure AddThreadExitProc(Proc: TProcedure);
|
|
Procedure DoThreadInitProcChain;
|
|
Procedure DoThreadExitProcChain;
|