Open GoogleCodeExporter opened 9 years ago
Please provide a test case (full, compilable project).
Original comment by gabr42
on 22 Jan 2014 at 9:28
When using a construction like
lAtomicIndex=-1;
Parallel.ParallelTask.NumTasks(lThreadCount).Execute(
procedure ()
VAR lMyIndex:integer;
begin
lMyIndex:=AtomicIncrement(lAtomicIndex);
// do something
end
);
then the problem is gone. So obviously, the TParallelloop<integer> created by
the compiler code resides only in the dynamic package. Still it appears strange
to me that the object is not destroyed within the calling routine of
parallel.foreach().NumTasks.Execute(...
Original comment by h.hasen...@gmail.com
on 22 Jan 2014 at 10:25
Sent by mail.
Original comment by h.hasen...@gmail.com
on 24 Jan 2014 at 2:55
The mail to omnithreadlibrary@googlecode.com bounced, so I have attached it
here.
Original comment by h.hasen...@gmail.com
on 27 Jan 2014 at 7:40
Attachments:
Thanks!
Original comment by gabr42
on 27 Jan 2014 at 9:47
Original issue reported on code.google.com by
h.hasen...@gmail.com
on 22 Jan 2014 at 9:19