Thanks guys. I can get the functionality I need by simply using a shared flag that breaks out of the play loop if set to false. I thought it might be possible to implement the stop function by sending a message to the thread assuming that the thread "listens" to receive *while* executing its task.