Pausing the "run" method in the worker thread
===

I have a background thread in my wxPython application to keep the GUI responsive. 
There's a while(true) loop in the "run" method of my background thread but I also have other methods that I sometimes call from the GUI thread. Is there anyway to stop the run method while I get into another method of the background thread? 