mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 11:32:46 +02:00
atari: added classes unit and a dummy threading implementation
git-svn-id: trunk@34589 -
This commit is contained in:
parent
39f0b9c888
commit
175cc52e8d
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -8397,6 +8397,7 @@ rtl/aros/timerd.inc svneol=native#text/plain
|
||||
rtl/aros/x86_64/prt0.as svneol=native#text/plain
|
||||
rtl/atari/Makefile svneol=native#text/plain
|
||||
rtl/atari/Makefile.fpc svneol=native#text/plain
|
||||
rtl/atari/classes.pp svneol=native#text/plain
|
||||
rtl/atari/prt0.as svneol=native#text/plain
|
||||
rtl/atari/rtldefs.inc svneol=native#text/plain
|
||||
rtl/atari/sysdir.inc svneol=native#text/plain
|
||||
@ -8405,6 +8406,7 @@ rtl/atari/sysheap.inc svneol=native#text/plain
|
||||
rtl/atari/sysos.inc svneol=native#text/plain
|
||||
rtl/atari/sysosh.inc svneol=native#text/plain
|
||||
rtl/atari/system.pp svneol=native#text/plain
|
||||
rtl/atari/tthread.inc svneol=native#text/plain
|
||||
rtl/avr/avr.inc svneol=native#text/plain
|
||||
rtl/avr/int64p.inc svneol=native#text/plain
|
||||
rtl/avr/makefile.cpu svneol=native#text/plain
|
||||
|
49
rtl/atari/classes.pp
Normal file
49
rtl/atari/classes.pp
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
This file is part of the Free Component Library (FCL)
|
||||
Copyright (c) 2016 by the Free Pascal development team
|
||||
|
||||
Classes unit for Atari
|
||||
|
||||
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.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$mode objfpc}
|
||||
|
||||
{ determine the type of the resource/form file }
|
||||
{$define Win16Res}
|
||||
|
||||
unit Classes;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
sysutils,
|
||||
rtlconsts,
|
||||
types,
|
||||
{$ifdef FPC_TESTGENERICS}
|
||||
fgl,
|
||||
{$endif}
|
||||
typinfo;
|
||||
|
||||
{$i classesh.inc}
|
||||
|
||||
|
||||
implementation
|
||||
|
||||
{ OS - independent class implementations are in /inc directory. }
|
||||
{$i classes.inc}
|
||||
|
||||
|
||||
initialization
|
||||
CommonInit;
|
||||
|
||||
finalization
|
||||
CommonCleanup;
|
||||
|
||||
end.
|
86
rtl/atari/tthread.inc
Normal file
86
rtl/atari/tthread.inc
Normal file
@ -0,0 +1,86 @@
|
||||
{
|
||||
This file is part of the Free Component Library (FCL)
|
||||
Copyright (c) 1999-2000 by the Free Pascal development team
|
||||
|
||||
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.
|
||||
|
||||
**********************************************************************}
|
||||
{****************************************************************************}
|
||||
{* TThread *}
|
||||
{****************************************************************************}
|
||||
|
||||
|
||||
procedure TThread.CallOnTerminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
function TThread.GetPriority: TThreadPriority;
|
||||
|
||||
begin
|
||||
GetPriority:=tpNormal;
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SetPriority(Value: TThreadPriority);
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SetSuspended(Value: Boolean);
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.DoTerminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SysCreate(CreateSuspended: Boolean; const StackSize: SizeUInt);
|
||||
|
||||
begin
|
||||
{IsMultiThread := TRUE; }
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SysDestroy;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Resume;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Suspend;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Terminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
function TThread.WaitFor: Integer;
|
||||
|
||||
begin
|
||||
WaitFor:=0;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user