Leon Timmermans > threads-lite-0.032 > threads::lite::queue

Download:
threads-lite-0.032.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.032   Source   Latest Release: threads-lite-0.033

NAME ^

threads::lite::queue - a threads::lite persistent queue

VERSION ^

Version 0.032

SYNOPSIS ^

This module represents a queue object/

METHODS ^

new()

Creates a new queue object. Note that queues have to be destroyed explicitly.

enqueue(...)

Send the list of arguments to the queue.

dequeue()

Receive the front entry from the queue. If the queue is empty then it blocks.

dequeue_nb()

Receive the front entry from the queue. If the queue is empty then it returns an empty list.

destroy

AUTHOR ^

Leon Timmermans, <leont at cpan.org>

BUGS ^

This is an early release, it is expected to have plenty of bugs.

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.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc threads::lite

You can also look for information at:

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.

syntax highlighting: