In this heap based message queue the sender always allocates the heap and the receiver always de-allocates. the heap message queue works safely and much more efficiently.