Problems Starting Parallel Tasks in Plain For Loop

Problems Starting Parallel Tasks in Plain For Loop
I'm having problems getting ITasks to work in a plane old "for" loop. I'd like to create a series of task in a for loop and carry on executing without waiting for them all to complete (otherwise I'd use a Parallel for loop). It compiles but doesn't work as I would expect. Take a look at this short screencast:

http://screencast.com/t/XoX3mIcjv

How would I accomplish this?

Here's a link to the small app - http://goo.gl/vJZldv

Thanks - Steve
#parallel #delphi #xe7 #ITask
http://screencast.com/t/XoX3mIcjv

Comments