Sending an exception from thread to main thread?

Viewed 6493

I want to pass an exception from current thread (that thread isn't main thread)to main thread. Why? Because I check my hard lock in another thread (that thread use timer for checking), and when HardLock is not accessible or invalid, I create an exception which is defined by myself and then throw that exception.
So that exception doesn't work well. ;(

6 Answers
Related