I have a method in a multi-threaded application and I\'d like the following behavior when this method is invoked:
create bool variable somewhere else, set on true when start method and to false on exit from method, before run method check if variable is false then run else exit from method