Name : perl-IPC-Shareable
| |
Version : 0.61
| Vendor : obs://build_opensuse_org/isv:dass-it
|
Release : 7.3
| Date : 2017-10-26 21:09:38
|
Group : Development/Libraries/Perl
| Source RPM : perl-IPC-Shareable-0.61-7.3.src.rpm
|
Size : 0.08 MB
| |
Packager : (none)
| |
Summary : Share Perl variables between processes
|
Description :
IPC::Shareable allows you to tie a variable to shared memory making it easy to share the contents of that variable with other Perl processes. Scalars, arrays, and hashes can be tied. The variable being tied may contain arbitrarily complex data structures - including references to arrays, hashes of hashes, etc.
The association between variables in distinct processes is provided by GLUE. This is an integer number or 4 character string[1] that serves as a common identifier for data across process space. Hence the statement
tie $scalar, \'IPC::Shareable\', \'data\';
in program one and the statement
tie $variable, \'IPC::Shareable\', \'data\';
in program two will bind $scalar in program one and $variable in program two.
There is no pre-set limit to the number of processes that can bind to data; nor is there a pre-set limit to the complexity of the underlying data of the tied variables[2]. The amount of data that can be shared within a single bound variable is limited by the system\'s maximum size for a shared memory segment (the exact value is system-dependent).
The bound data structures are all linearized (using Raphael Manfredi\'s Storable module) before being slurped into shared memory. Upon retrieval, the original format of the data structure is recovered. Semaphore flags can be used for locking data between competing processes.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/isv:/dass-it:/SmartClient:/server/SLE_11_SP4/noarch |