In reply to Yogaraj Selvalingam:
It would be better using a mailbox put() and get() method for what are doing. A mailbox takes care of the synchronization issues together with the queue data.
In reply to Yogaraj Selvalingam:
It would be better using a mailbox put() and get() method for what are doing. A mailbox takes care of the synchronization issues together with the queue data.