Pots - Perl ObjectThreads
This module collection aims to provide an object-oriented way of working with Perl ithreads.
Current features are:
- Inter-thread communication through messages and message-queues
- A simple "MethodServer" class that exposes a standard class to other threads. Method calls are automatically handled. (Kind of RPC for threads)
Thanks to Elizabeth Mattijsen for help on shared variables.
Some code in this package is based on/revamped from:
Michael G Schwern's "Class::Accessor" Jochen Wiedmann's "RPC::PlClient"
Pots::Tutorial for an introduction on how to use this package.
Pots::Tutorial
Remy Chibois <rchibois at free.fr>
Copyright (c) 2004 Remy Chibois. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Pots::Thread, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pots::Thread
CPAN shell
perl -MCPAN -e shell install Pots::Thread
For more information on module installation, please visit the detailed CPAN module installation guide.