Changeset 367 for Common/UResetableThread.pas
- Timestamp:
- May 28, 2012, 11:39:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UResetableThread.pas
r329 r367 273 273 procedure TThreadPool.RunInThread(AMethod: TMethodCall); 274 274 begin 275 CheckException; 276 with TResetableThread(Acquire) do begin 277 Method := AMethod; 278 OnFinished := MethodFinish; 279 Start; 275 try 276 with TResetableThread(Acquire) do begin 277 Method := AMethod; 278 OnFinished := MethodFinish; 279 Start; 280 end; 281 finally 282 CheckException; 280 283 end; 281 284 end;
Note:
See TracChangeset
for help on using the changeset viewer.