mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:39:27 +02:00
95 lines
2.1 KiB
ObjectPascal
95 lines
2.1 KiB
ObjectPascal
{
|
|
$Id$
|
|
This file is part of the Free Component Library (FCL)
|
|
Copyright (c) 1999-2000 by Michael Van Canneyt and Florian Klaempfl
|
|
|
|
Classes unit for linux
|
|
|
|
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,
|
|
types,
|
|
typinfo,
|
|
rtlconst;
|
|
|
|
{$i classesh.inc}
|
|
|
|
implementation
|
|
|
|
uses
|
|
BaseUnix,unix
|
|
;
|
|
|
|
{ OS - independent class implementations are in /inc directory. }
|
|
{$i classes.inc}
|
|
|
|
|
|
initialization
|
|
CommonInit;
|
|
finalization
|
|
CommonCleanup;
|
|
|
|
{$ifndef VER1_0}
|
|
if ThreadsInited then
|
|
DoneThreads;
|
|
{$endif}
|
|
end.
|
|
{
|
|
$Log$
|
|
Revision 1.1 2005-02-06 12:16:52 peter
|
|
* bsd thread updates
|
|
|
|
Revision 1.8 2005/02/06 11:20:52 peter
|
|
* threading in system unit
|
|
* removed systhrds unit
|
|
|
|
Revision 1.7 2004/12/23 15:08:58 marco
|
|
* 2nd synchronize attempt. cthreads<->systhrds difference was not ok, but
|
|
only showed on make install should be fixed now.
|
|
|
|
Revision 1.6 2004/12/23 09:42:42 marco
|
|
* first tthread.synchronize support (merged neli's patches)
|
|
|
|
Revision 1.5 2004/01/22 17:11:23 peter
|
|
* classes uses types to import TPoint and TRect
|
|
|
|
Revision 1.4 2004/01/10 19:35:52 michael
|
|
+ Moved all resource strings to rtlconst/sysconst
|
|
|
|
Revision 1.3 2003/11/19 15:51:54 peter
|
|
* tthread disabled for 1.0.x
|
|
|
|
Revision 1.2 2003/11/10 16:54:28 marco
|
|
* new oldlinux unit. 1_0 defines killed in some former FCL parts.
|
|
|
|
Revision 1.1 2003/10/06 21:01:06 peter
|
|
* moved classes unit to rtl
|
|
|
|
Revision 1.7 2003/09/20 15:10:30 marco
|
|
* small fixes. fcl now compiles
|
|
|
|
Revision 1.6 2002/10/14 19:45:54 peter
|
|
* threading switch
|
|
|
|
Revision 1.5 2002/09/07 15:15:27 peter
|
|
* old logs removed and tabs fixed
|
|
|
|
}
|