Please look at the two pictures of the two scenarios


Thread Implementation Scenario 1
Thread Implementation Scenario 2
My problem is that the behavior I faced is when I follow "scenario 1" I lost control of my program and the
"// other commands" in MyClass didn't run
when I followed scenario two my sequence was smooth. has anyone noticed this behavior or is it a malfunction?
Kindly give your opinions.
Regards,