Changeset 161 for MicroThreading/Demo/UMainForm.pas
- Timestamp:
- Feb 7, 2011, 7:04:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MicroThreading/Demo/UMainForm.pas
r160 r161 369 369 begin 370 370 for I := 0 to MainForm.Iterations - 1 do begin 371 try 371 372 Q := 0; 372 373 while Q < 100 do Inc(Q); … … 381 382 Completion := I / MainForm.Iterations; 382 383 Yield; 384 385 except 386 Q := 0; 387 raise Exception.Create('Exception from microthread'); 388 end; 383 389 end; 384 390 end;
Note:
See TracChangeset
for help on using the changeset viewer.