thread...:queue(3pm)

πŸ“¦
version 0.034 Β· 2 versions
, in fedora 43

✨ 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 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 by perl v5.42.0, dated 2025-07-25, under the thread...:queue(3pm) vibe. now go destroy your queues explicitly. periodt. πŸ’…βœ¨
πŸ“¦ where this page comes from