Closed StoneYunZhao closed 3 years ago
Thanks for the PR, this seems reasonable to me.
@StoneYunZhao can you rebase on latest master?
@StoneYunZhao can you rebase on latest master?
Done.
uh, that rebase went wrong somehow, maybe I can fix it ...
(ah, you fixed it, thanks)
uh, that rebase went wrong somehow, maybe I can fix it ...
Sorry, I tried to fix it, is it okay now?
As described in #6 , we want to read the first element of the queue but not dequeued.
Here is pseudocode for some peek case.