roschuma:
I appreciate your reply. I'm glad the idea of brute-force serialization (using the mutex) came from someone other than me. :)> I've considered it.
However, I think there is a better answer for me in the link you provided. The Composing Tasks section offers the
Thanks again for the link. It's the single most informative page I've seen in the PPL documentation so far.
I'll post again to wrap up once I've determined that I've solved my problem.
-evan
I appreciate your reply. I'm glad the idea of brute-force serialization (using the mutex) came from someone other than me. :)> I've considered it.
However, I think there is a better answer for me in the link you provided. The Composing Tasks section offers the
observe_all_exceptions()
function, which in as many words is exactly what I need to do. I think I will be able to cancel all pending tasks through a cancellation_token
then use that function to clean up the ensuing exceptions before returning. It will also handle any other exceptions thrown by the remaining tasks as I'm setting up to exit with the first exception.Thanks again for the link. It's the single most informative page I've seen in the PPL documentation so far.
I'll post again to wrap up once I've determined that I've solved my problem.
-evan