mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-01 18:06:03 +02:00
42 lines
1.1 KiB
PHP
42 lines
1.1 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
|
|
['{7B108C52-1D8F-4CDB-9CDF-57E071193D3F}']
|
|
procedure BeginRead;
|
|
procedure EndRead;
|
|
function BeginWrite : boolean;
|
|
procedure EndWrite;
|
|
end;
|
|
|
|
{$endif HASINTF}
|
|
|
|
function InterLockedIncrement (var Target: longint) : longint;
|
|
function InterLockedDecrement (var Target: longint) : longint;
|
|
function InterLockedExchange (var Target: longint;Source : longint) : longint;
|
|
function InterLockedExchangeAdd (var Target: longint;Source : longint) : longint;
|
|
|
|
{
|
|
$Log$
|
|
Revision 1.4 2005-02-14 17:13:31 peter
|
|
* truncate log
|
|
|
|
Revision 1.3 2005/02/06 20:31:35 florian
|
|
+ GlobalNameSpace
|
|
|
|
}
|