Browse Source

sample updated

Unknown 5 years ago
parent
commit
253ec8a1d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      samples/delphi/QuickThreads/BackgroundTasks/RunBackgroundtask.dpr

+ 1 - 0
samples/delphi/QuickThreads/BackgroundTasks/RunBackgroundtask.dpr

@@ -81,6 +81,7 @@ begin
     backgroundtasks.Start;
     cout('Running tasks in background!',etInfo);
     ConsoleWaitForEnterKey;
+    coutFmt('Task gueue size = %d',[backgroundtasks.TaskQueued],etInfo);
     backgroundtasks.Free;
     cout('finished tasks!!!!',etInfo);
   except