ri > Concurrent::LockFreeQueue

📦 Concurrent::LockFreeQueue < Synchronization::Object

🚀 Quick Reference

Use CaseCommandDescription
Create a new lock-free queueConcurrent::LockFreeQueue.newCreates a new instance of a lock-free queue
Pop an element from the queuequeue.popRemoves and returns the head element, or nil if empty
Push an element onto the queuequeue.push(element)Adds an element to the tail of the queue
Get the number of elementsqueue.sizeReturns the current size of the queue

🔒 @!visibility private


🛠️ Class methods:

🔧 Instance methods:

Concurrent::LockFreeQueue
📦 Concurrent::LockFreeQueue < Synchronization::Object 🚀 Quick Reference
🛠️ Class methods: 🔧 Instance methods:

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 16:35 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format