Issues on Queue at receiver class

In reply to Yeptho:

You should synchronize your read on a clock edge.