I have a small program which has a large (~50K) number of objects which need
to do work.
I create a BackgroundWorke r object and fire it off whenever each of the
instances needs to do work; this all works fine, but I'm not sure if I'm
using the class correctly.
Should have an internal limit on the number of BackgroundWorke rs I fire off,
or does the fact that it internally uses the ThreadPool anyway mean that I
don't need to bother?
--
Paul
to do work.
I create a BackgroundWorke r object and fire it off whenever each of the
instances needs to do work; this all works fine, but I'm not sure if I'm
using the class correctly.
Should have an internal limit on the number of BackgroundWorke rs I fire off,
or does the fact that it internally uses the ThreadPool anyway mean that I
don't need to bother?
--
Paul
Comment