Changeset 295 for Common/UThreading.pas


Ignore:
Timestamp:
Nov 15, 2011, 8:46:43 AM (13 years ago)
Author:
george
Message:
  • Moved: Units UPool and UResetableThread moved from CoolWeb to Common. Both units redone to more abstract reprezentation.
  • Added: New Port property in class TSqlDatabase.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UThreading.pas

    r271 r295  
    4545  end;
    4646
     47  TVirtualThreadClass = class of TVirtualThread;
     48
    4749  TListedThread = class;
    4850
     
    102104  TThreadList = class(TObjectList)
    103105    function FindById(Id: Integer): TVirtualThread;
    104     constructor Create;
     106    constructor Create; virtual;
    105107  end;
    106108
     
    187189begin
    188190  inherited Create;
    189   OwnsObjects := False;
    190191end;
    191192
     
    201202        OnException(Parent.FThread, E);
    202203  end;
    203                                                                                                                                                                                                                                                                                                                                     end;
     204end;
    204205
    205206{ TListedThread }
     
    354355ThreadListLock := TCriticalSection.Create;
    355356ThreadList := TThreadList.Create;
     357ThreadList.OwnsObjects := False;
    356358
    357359finalization
Note: See TracChangeset for help on using the changeset viewer.