Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.389.477 Times

Thread::Tie 0.12

  Date Added: February 05, 2010  |  Visits: 694

Thread::Tie

Report Broken Link
Printer Friendly Version


Product Homepage
Download (85 downloads)



Thread::Tie can 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, Thread::Tie; tie *HANDLE, Thread::Tie; # use alternate implementation tie $scalar, Thread::Tie, { module => Own::Tie::Implementation, # used automatically use => Use::This::Module::Also, # optional, also as [] eval => arbitrary Perl code, # optional }; # initialize right away tie $scalar, Thread::Tie, {}, 10; tie @array, Thread::Tie, {}, qw(a b c); tie %hash, Thread::Tie, {}, (a => A, b => B, c => C); tie *HANDLE, Thread::Tie, {},>:layer,filename; # create an alternate thread and use that my $tiethread = Thread::Tie::Thread->new; tie $scalar, Thread::Tie, {thread => $tiethread}; # object methods my $tied = tie stuff,Thread::Tie,parameters; my $tied = tied( stuff ); my $semaphore = $tied->semaphore; # scalar for lock()ing tied variable my $module = $tied->module; # module tied to in thread my $tiethread = $tied->thread; # thread to which variable is tied my $tid = $tiethread->tid; # thread id of tied thread my $thread = $tiethread->thread; # actual "threads" thread untie( stuff ); # calls DESTROY in thread, cleans up thoroughly Thread::Tie->shutdown; # shut down default handling thread $tiethread->shutdown; # shut down specific thread.

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Programming Scalar Thread Threadtie Tie Tied Variables
Users rating: 0/10

License: Freeware Size: 15.36 KB
USER REVIEWS
More Reviews or Write Review


THREAD::TIE RELATED
Libraries  -  Fry::Shell 0.15
Fry::Shell is a flexible shell framework which encourages using loadable libraries of functions. SYNOPSIS From the commandline: perl -MFry::Shell -eshell OR In a script: package MyShell; use Fry::Shell; #subs sub evalIt { my $cls =...
58.37 KB  
Libraries  -  Clone 0.23
Clone is a Perl module that can recursively copy Perl datatypes. SYNOPSIS use Clone; push @Foo::ISA, Clone; $a = new Foo; $b = $a->clone(); # or use Clone qw(clone); $a = { foo => bar, move => zig }; $b = [ alpha, beta, gamma,...
10.24 KB  
Libraries  -  Tie::CountLoop 1.5
Tie::CountLoop is a Perl module that helps you have a counter looping in a scalar with min max and increment value. SYNOPSIS use Tie::CountLoop; tie my $counter , Tie::CountLoop,15 ,-1 ,15 ,7 ,0; my $t = tied $counter; $t->increment( 1 );...
3.07 KB  
Libraries  -  Tie::Scalar::Sticky 1.06
Tie::Scalar::Sticky is a Perl module with block assignments to scalars. SYNOPSIS use strict; use Tie::Scalar::Sticky; tie my $sticky, Tie::Scalar::Sticky; $sticky = 42; $sticky = ; # still 42 $sticky = undef; # still 42 $sticky = 0; #...
3.07 KB  
Libraries  -  Locale::Maketext::Lexicon::Tie 0.62
Locale::Maketext::Lexicon::Tie is a Perl module to use tied hashes as lexicons for Maketext. SYNOPSIS package Hello::I18N; use base Locale::Maketext; use Locale::Maketext::Lexicon { en => [ Tie => [ DB_File => en.db ] ], }; This module...
83.97 KB  
Libraries  -  Tie::CharArray 1.00
Tie::CharArray module can access Perl scalars as arrays of characters. SYNOPSIS use Tie::CharArray; my $foobar = a string; tie my @foo, Tie::CharArray, $foobar; $foo[0] = A; # $foobar = A string push @foo, !; # $foobar = A string! print...
5.12 KB  
Libraries  -  Tie::Trace 0.05
Tie::Trace can easy print debugging with tie. SYNOPSIS use Tie::Trace; my %hash; tie %hash, "Tie::Trace"; $hash{hoge} = hogehoge; # warn Hash => Key: hoge, Value: hogehgoe at ... my @array; tie @aray, "Tie::Trace"; push @array,...
8.19 KB  
Libraries  -  Scalar::Defer 0.07
Scalar::Defer is a Perl module to calculate values on demand. SYNOPSIS use Scalar::Defer; # exports defer and lazy my ($x, $y); my $dv = defer { ++$x }; # a deferred value (not memoized) my $lv = lazy { ++$y }; # a lazy value (memoized)...
25.6 KB  
Libraries  -  Tie::ListKeyedHash 1.02
Tie::ListKeyedHash is a system allowing the use of anonymous arrays as keys to a hash. SYNOPSIS use Tie::ListKeyedHash; [$X =] tie %hash, Tie::ListKeyedHash; my $live_key = [key,items,live]; $hash{$live_key} = Hello!;...
16.38 KB  
Libraries  -  Tie::UrlEncoder 0.01
Tie::UrlEncoder is a Perl module for interpolatably URL-encode strings. Syntactic sugar for URL-Encoding strings. Tie::UrlEncoder imports a tied hash %urlencode into your package, which delivers a RFC 1738 URL Encoded string of whatever is given...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB