cdew / omnithreadlibrary

Automatically exported from code.google.com/p/omnithreadlibrary
0 stars 0 forks source link

cannot repeat #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tasks will not cancel even if I run it with Debug or Release its the same.
The application just freezes. It worked previous version.

if Busy then
  begin
    Manager.FWorkers.TerminateAll(0);
    GlobalOmniThreadPool.CancelAll;
    Log('All tasks stopped',Form1.Memo1);
  end
  else begin
  Log('Nothing to stop',Form1.Memo1);
  end;

Original issue reported on code.google.com by david.lo...@gmail.com on 8 Dec 2012 at 8:04

GoogleCodeExporter commented 9 years ago
This is not enough code to repeat the problem.

Original comment by gabr42 on 8 Dec 2012 at 9:34

GoogleCodeExporter commented 9 years ago
http://stackoverflow.com/questions/13781900/otl-kill-task-on-demand

Original comment by david.lo...@gmail.com on 8 Dec 2012 at 9:46