Changeset 153 for MicroThreading/Demo/UMainForm.pas
- Timestamp:
- Jan 27, 2011, 10:56:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MicroThreading/Demo/UMainForm.pas
r152 r153 66 66 private 67 67 procedure Worker(MicroThread: TMicroThread); 68 procedure WorkerDoWrite; 68 69 public 69 70 Iterations: Integer; … … 282 283 Q := 0; 283 284 while Q < 100 do Inc(Q); 285 Synchronize(WorkerDoWrite); 284 286 //Memo1.Lines.Add(IntToStr(Id) + ': ' + IntToStr(I) + ' ' + 285 287 // FloatToStr(ExecutionTime)); … … 291 293 end; 292 294 295 procedure TMainForm.WorkerDoWrite; 296 begin 297 Memo1.Lines.Add('.'); 298 end; 299 293 300 end. 294 301
Note:
See TracChangeset
for help on using the changeset viewer.