I have a Process running which creates a Thread object and runs it. Now based on some events in Process, I want Thread to react accordingly. More precisely if commonVar beco