In reply to rohitk:
That’s not correct either. You don’t want to be disturbing the queue as other processes may be accessing it as well. My comment about push_back was if you are also implementing a put() task.
In reply to rohitk:
That’s not correct either. You don’t want to be disturbing the queue as other processes may be accessing it as well. My comment about push_back was if you are also implementing a put() task.