thread...:queue(3pm)
β¨ NAME β¨
okay so bestie, welcome to threads::lite::queue β it's a threads::lite persistent queue π (the manual page lives under thread...:queue(3pm), iykyk)
πΈ VERSION πΈ
Version 0.034 β she's baby, be gentle π
π¦ SYNOPSIS π¦
fr fr, the whole synopsis is just this one line:
This module represents a queue object/
(that trailing slash? not me noticing it, it's giving copy-paste legacy and honestly? iconic π )
π METHODS π
π new()
Makes you a brand new queue object, slay β¨ But listen β queues have to be destroyed explicitly. She will not clean up after herself, bestie. You gotta do it. No cap.
π enqueue(...)
Send the whole list of arguments straight to the queue. Just yeet them in π«Ά
π dequeue()
Takes the front entry from the queue. And if the queue is empty? She blocks π like literally just sits there waiting. main character patience.
π dequeue_nb()
Also takes the front entry from the queue β the "nb" stands for non-blocking, she's got places to be π β and if the queue is empty she just returns an empty list and moves on with her life.
π destroy
(that's the whole entry, bestie π the original gives us zero elaboration here, so I'm not gonna invent lore. Just. destroy.)
π AUTHOR π
Leon Timmermans, "<leont at cpan.org>" β king behavior π
π BUGS π
This is an early release, and it is expected to have plenty of bugs. Yes, plenty. She's a work in progress and we love her anyway π
Please report any bugs or feature requests to "bug-threads-lite at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=threads-lite>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. (closed loop communication, we love to see it π«Ά)
π SUPPORT π
You can find documentation for this module with the perldoc command.
perldoc threads::lite
You can also look for information at:
- RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=threads-lite>
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/threads-lite>
- CPAN Ratings
<http://cpanratings.perl.org/d/threads-lite>
- Search CPAN
<http://search.cpan.org/dist/threads-lite>
π§ COPYRIGHT & LICENSE π§
Copyright 2009, 2010 Leon Timmermans, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π and that's the whole page bestie! brought to you byperl v5.42.0, dated2025-07-25, under thethread...:queue(3pm)vibe. now go destroy your queues explicitly. periodt. π β¨
π¦ where this page comes from
- fedora 43: perl-threads-lite 0.034-39.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms