GOLF(2gg)
π GOLF(2gg) β aka the manual page for new-fifo, bestie π
okay so you found yourself in the GOLF(2gg) corner of the dev docs, and honestly? iconic. this is the page for new-fifo. let's get into it π
β¨ NAME β¨
new-fifo β (FIFO) π¦
π― PURPOSE π―
Create FIFO list. that's the whole mission, no cap. π
π SYNTAX π
new-fifo <list>
πΈ DESCRIPTION πΈ
new-fifo initializes a brand-new FIFO <list> β and FIFO means First In First Out, so it's giving very much "queue behavior, main character energy" π
<list> contains data stored on a first-in, first-out basis. and ngl, important detail: a list is accessible to the current process only β it's not out here sharing with everybody, it's loyal like that π«Ά
Information is retrieved (possibly many times, see rewind-fifo) in the same order in which it was stored. so like, what went in first comes out first. no line-jumping, we don't do that here π
The internal positions for write-fifo and read-fifo actions are separate, which is lowkey the slayest part: you can keep writing data to the list, and read it independently of writes in any number of retrieval passes by using rewind-fifo β¨
fr fr, that separation is the whole vibe β writes don't interrupt your reads, reads don't interrupt your writes. separate lanes, both thriving π
π EXAMPLES π
new-fifo nf
that's it, that's the example, and it ate π
π SEE ALSO π
FIFOdelete-fifonew-fifopurge-fiforead-fiforewind-fifowrite-fifo
Also: See all documentation β (go explore, bestie, there's a whole world out there π¦)
and that's the page!! this little beauty lives in $VERSION, dated $DATE, filed under GOLF(2gg) β mwah, go forth and queue responsibly πβ¨π
π¦ where this page comes from
- ubuntu questing: golf 601.4.41-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms