That queue variable belongs to your mythread class. So I cannot do any operations with queue.I want to access the datas into queue. They are in different classes. How can i