mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-11 02:18:33 +02:00
38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
{
|
|
$Id$
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 1999-2001 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.
|
|
|
|
**********************************************************************}
|
|
|
|
{$ifdef HASINTF}
|
|
|
|
type
|
|
IReadWriteSync = interface
|
|
procedure BeginRead;
|
|
procedure EndRead;
|
|
procedure BeginWrite;
|
|
procedure EndWrite;
|
|
end;
|
|
|
|
{$endif HASINTF}
|
|
|
|
function InterLockedIncrement (var Target: integer) : Integer;
|
|
function InterLockedDecrement (var Target: integer) : Integer;
|
|
function InterLockedExchange (var Target: integer;Source : integer) : Integer;
|
|
function InterLockedExchangeAdd (var Target: integer;Source : integer) : Integer;
|
|
|
|
{
|
|
$Log$
|
|
Revision 1.3 2002-09-07 16:01:22 peter
|
|
* old logs removed and tabs fixed
|
|
|
|
}
|