Previous | Next --- Slide 51 of 66
Back to Lecture Thumbnails
gsamp

If this code is run by two threads, one pushing another popping, there is no need for locks protecting the queue.

Please log in to leave a comment.