Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Thread-Tie

Tie variables into a thread of their own

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.

Homepage:
Package version:0.12
Architecture:noarch
Distribution:RPMForge
Filename:perl-Thread-Tie-0.12-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Thread-Tie-0.12/README

README for Thread::Tie

Tie variables into a thread of their own.  Creates alternative to the current
shared variables implementation.  Also allows shared variables to be tied to
the module of your choice (inside the thread they reside in).

                         *** A note of CAUTION ***

This module only functions on Perl versions 5.8.0 and later.  And then
only when threads are enabled with 
more»

/usr/share/man/man3/Thread::Tie.3pm.gz

Thread::Tie(3)   User Contributed Perl Documentation  Thread::Tie(3)



NAME
       Thread::Tie - tie variables into a thread of their own

SYNOPSIS
           use Thread::Tie; # use as early as possible for maximum memory savings

           # use default thread + tieing + create thread when needed
           tie $scalar, 'Thread::Tie';
           tie @array, 'Thread::Tie';
           tie %hash, 
more»

/usr/share/man/man3/Thread::Tie::Array.3pm.gz

Thread::Tie::ArraUser Contributed Perl DocumentThread::Tie::Array(3)



NAME
       Thread::Tie::Array - default class for tie-ing arrays to
       threads

DESCRIPTION
       Helper class for Thread::Tie.  See documentation there.

CREDITS
       Implementation inspired by Tie::StdArray.

AUTHOR
       Elizabeth Mattijsen, <liz@dijkmat.nl>.

       Please report bugs to <perlbugs@dijkmat.nl>.

CO
more»

/usr/share/man/man3/Thread::Tie::Handle.3pm.gz

Thread::Tie::HandUser)Contributed Perl DocumenThread::Tie::Handle(3)



NAME
       Thread::Tie::Han
more»

/usr/share/man/man3/Thread::Tie::Hash.3pm.gz

Thread::Tie::HashUser Contributed Perl DocumentaThread::Tie::Hash(3)



NAME
       Thread::Tie::Has
more»

/usr/share/man/man3/Thread::Tie::Scalar.3pm.gz

Thread::Tie::ScalUser)Contributed Perl DocumenThread::Tie::Scalar(3)



NAME
       Thread::Tie::Sca
more»

/usr/share/man/man3/Thread::Tie::Thread.3pm.gz

Thread::Tie::ThreUser)Contributed Perl DocumenThread::Tie::Thread(3)



NAME
       Thread::Tie::Thr
more»

/usr/share/doc/perl-Thread-Tie-0.12/CHANGELOG

0.12	28 December 2003
	Added automatic required modules update using Devel::Required.

0.11	27 Septe
more»

Browse inside perl-Thread-Tie-0.12-1.el5.rf.noarch.rpm

1.73 KB2014-11-29HEADER  view  7 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Thread-Tie-0.12-1.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com