if a thread (object) is for example a class, would it be possible to call the class objects of this thread from another thread? or how could something similar be done?