Browse Source

+ Fixed TSynchroObject name

git-svn-id: trunk@116 -
michael 20 years ago
parent
commit
87a429377d
2 changed files with 17 additions and 19 deletions
  1. 14 16
      fcl/inc/syncob.inc
  2. 3 3
      fcl/inc/syncobh.inc

+ 14 - 16
fcl/inc/syncob.inc

@@ -12,23 +12,21 @@
 
 
  **********************************************************************}
  **********************************************************************}
 
 
-procedure TSyncroObject.Acquire;
-  begin
-  end;
-  
-  
-procedure TSyncroObject.Release;
-  begin
-  end;
-  
-  
+procedure TSynchroObject.Acquire;
+begin
+end;
+
+procedure TSynchroObject.Release;
+begin
+end;
+
 procedure TCriticalSection.Enter;
 procedure TCriticalSection.Enter;
-  begin
-     Acquire;
-  end;
+begin
+  Acquire;
+end;
 
 
 
 
 procedure TCriticalSection.Leave;
 procedure TCriticalSection.Leave;
-  begin
-     Release;
-  end;
+begin
+  Release;
+end;

+ 3 - 3
fcl/inc/syncobh.inc

@@ -15,12 +15,12 @@
 type
 type
    TWaitResult = (wrSignaled, wrTimeout, wrAbandoned, wrError);
    TWaitResult = (wrSignaled, wrTimeout, wrAbandoned, wrError);
 
 
-   TSyncroObject = class(TObject)
+   TSynchroObject = class(TObject)
       procedure Acquire;virtual;
       procedure Acquire;virtual;
       procedure Release;virtual;
       procedure Release;virtual;
    end;
    end;
 
 
-   TCriticalSection = class(TSyncroObject)
+   TCriticalSection = class(TSynchroObject)
    private
    private
       CriticalSection : TRTLCriticalSection;
       CriticalSection : TRTLCriticalSection;
    public
    public
@@ -32,7 +32,7 @@ type
       destructor Destroy;override;
       destructor Destroy;override;
    end;
    end;
 
 
-   THandleObject = class(TSyncroObject)
+   THandleObject = class(TSynchroObject)
    protected
    protected
       FHandle : TEventHandle;
       FHandle : TEventHandle;
       FLastError : Integer;
       FLastError : Integer;