You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/24 08:13:26 UTC

[GitHub] [pulsar] yxl1014 commented on issue #15735: About TripleLongPriorityQueue thread safety.

yxl1014 commented on issue #15735:
URL: https://github.com/apache/pulsar/issues/15735#issuecomment-1135552464

   Triplelongpriorityqueue is obviously not a thread safe queue. It is just an ordered queue based on bytebuf, which is used to store the index of long type and the delay time of long type. When you use it in the outer layer, you need to lock it to ensure its thread safety.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org