NAME
threads::lite::tid - a threads::lite thread id
VERSION
Version 0.010
SYNOPSIS
This module represents a thread ID object. It provides a handle to a thread.
FUNCTIONS
send(@list)
Send a message to a thread. The message items may contain any data type that can be serialized by Storable (including coderefs).
monitor
Monitor the thread. This will cause the calling thread to get a notification of the thread's end. In case of a natural death it returns ('normal', @return_value)
, in case of an unnatural death it will contain ('error', $exception)
.
rpc(@args)
This is a utility function. It send prepended by the sending process' tid, and waits for a reply prepended by the tid, and returns it without the tid.
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:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 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.