Add a getThread() method to the ThreadDispatchQueue class.