Name : perl-Thread-Tie
| |
Version : 0.12
| Vendor : Dag Apt Repository, http://dag_wieers_com/apt/
|
Release : 1.el5.rf
| Date : 2007-07-11 10:33:56
|
Group : Applications/CPAN
| Source RPM : perl-Thread-Tie-0.12-1.el5.rf.src.rpm
|
Size : 0.06 MB
| |
Packager : Dag Wieers < dag_wieers_com>
| |
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: /vol/rzm3/linux-dag/dag/redhat/el5/en/x86_64/dag/RPMS |