| Use Case | Command | Description |
|---|---|---|
| Create a new lock-free queue | Concurrent::LockFreeQueue.new | Creates a new instance of a lock-free queue |
| Pop an element from the queue | queue.pop | Removes and returns the head element, or nil if empty |
| Push an element onto the queue | queue.push(element) | Adds an element to the tail of the queue |
| Get the number of elements | queue.size | Returns the current size of the queue |
🔒 @!visibility private
newpoppushsizeGenerated 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)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format