- Timestamp:
- Nov 15, 2011, 8:46:43 AM (13 years ago)
- Location:
- Common
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Common.lpk
r290 r295 12 12 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 13 13 </SearchPaths> 14 <Linking> 15 <Debugging> 16 <GenerateDebugInfo Value="True"/> 17 <DebugInfoType Value="dsAuto"/> 18 </Debugging> 19 </Linking> 14 20 <Other> 15 21 <CompilerMessages> … … 22 28 <License Value="GNU/GPL"/> 23 29 <Version Minor="3"/> 24 <Files Count=" 8">30 <Files Count="10"> 25 31 <Item1> 26 32 <Filename Value="StopWatch.pas"/> … … 56 62 <UnitName Value="UMemory"/> 57 63 </Item8> 64 <Item9> 65 <Filename Value="UResetableThread.pas"/> 66 <UnitName Value="UResetableThread"/> 67 </Item9> 68 <Item10> 69 <Filename Value="UPool.pas"/> 70 <UnitName Value="UPool"/> 71 </Item10> 58 72 </Files> 59 73 <i18n> -
Common/Common.pas
r290 r295 9 9 uses 10 10 StopWatch, UCommon, UDebugLog, UDelay, UPrefixMultiplier, UURI, UThreading, 11 UMemory, LazarusPackageIntf;11 UMemory, UResetableThread, UPool, LazarusPackageIntf; 12 12 13 13 implementation -
Common/UDebugLog.pas
r290 r295 101 101 begin 102 102 try 103 ForceDirectoriesUTF8(ExtractFileDir(FileName)); 103 if ExtractFileDir(FileName) <> '' then 104 ForceDirectoriesUTF8(ExtractFileDir(FileName)); 104 105 if FileExistsUTF8(FileName) then LogFile := TFileStream.Create(UTF8Decode(FileName), fmOpenWrite) 105 106 else LogFile := TFileStream.Create(UTF8Decode(FileName), fmCreate); -
Common/UThreading.pas
r271 r295 45 45 end; 46 46 47 TVirtualThreadClass = class of TVirtualThread; 48 47 49 TListedThread = class; 48 50 … … 102 104 TThreadList = class(TObjectList) 103 105 function FindById(Id: Integer): TVirtualThread; 104 constructor Create; 106 constructor Create; virtual; 105 107 end; 106 108 … … 187 189 begin 188 190 inherited Create; 189 OwnsObjects := False;190 191 end; 191 192 … … 201 202 OnException(Parent.FThread, E); 202 203 end; 203 204 end; 204 205 205 206 { TListedThread } … … 354 355 ThreadListLock := TCriticalSection.Create; 355 356 ThreadList := TThreadList.Create; 357 ThreadList.OwnsObjects := False; 356 358 357 359 finalization
Note:
See TracChangeset
for help on using the changeset viewer.