Name : perl-Thread-Tie
| |
Version : 0.12
| Vendor : Dries RPM Repository http://dries_ulyssis_org/rpm/
|
Release : 1.fc8.rf
| Date : 2007-12-10 14:22:08
|
Group : Applications/CPAN
| Source RPM : perl-Thread-Tie-0.12-1.fc8.rf.src.rpm
|
Size : 0.06 MB
| |
Packager : Dries Verachtert < dries_ulyssis_org>
| |
Summary : Tie variables into a thread of their own
|
Description :
The standard shared variable scheme used by Perl, is based on tie-ing the variable to some very special dark magic. This dark magic ensures that shared variables, which are copied just as any other variable when a thread is started, update values in all of the threads where they exist as soon as the value of a shared variable is changed.
Needless to say, this could use some improvement.
The Thread::Tie module is a proof-of-concept implementation of another approach to shared variables. Instead of having shared variables exist in all the threads from which they are accessible, shared variable exist as \"normal\", unshared variables in a seperate thread. Only a tied object exists in each thread from which the shared variable is accesible.
Through the use of a client-server model, any thread can fetch and/or update variables living in that thread. This client-server functionality is hidden under the hood of tie().
This module only functions on Perl versions 5.8.0 and later. And then only when threads are enabled with -Dusethreads. It is of no use with any version of Perl before 5.8.0 or without threads enabled.
|
RPM found in directory: /packages/linux-pbone/archive/dries.studentenweb.org/apt/fedora/fc8/x86_64/RPMS.dries |