In a WPF app I have a pool of threads (each thread is a call to a REST webservice returning base64 image) that I'd like to "control" much precisely.
These threads are async and I'd like to be able to suspend/resume each of them.
Use something like a CancellationToken is not an option I guess because each thread is doing just a call and waiting for the answer.
I just saw that in the class Thread => Suspend & Restart are obsolete/deprecated.
So if someone has any suggestion?
Thanks by advance.