Skip to main content
gamedev.net
🔒 Locked

Intel tbb parallel_for exceptions

Started by _Sigma 0 replies 1.7k views
Original Post
_Sigma
_Sigma
I need to propagate an exception out of a parallel_for algorithm. I've read the blog posts I, III, IV, other. I know there is a tbb::exception, however I cant' find any examples on using it (well it's derived variants such as captured_exception). Idealy I want:

try
{
parallel_for(...)
}
catch( someexception e)
{
...
}

I was just wondering if anyone was familiar with how this works in tbb and could give me a shove in the right direction?
_Sigma
_Sigma
awww...no ideas?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.