[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779481: marked as done (ITP: libthread-tie-perl -- alternative separate thread implementation of shared variables)



Your message dated Tue, 03 Mar 2015 16:00:13 +0000
with message-id <E1YSpEz-0002QP-0Q@franck.debian.org>
and subject line Bug#779481: fixed in libthread-tie-perl 0.13-1
has caused the Debian Bug report #779481,
regarding ITP: libthread-tie-perl -- alternative separate thread implementation of shared variables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
779481: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779481
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Owner: Christopher Hoskin <christopher.hoskin@gmail.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libthread-tie-perl
  Version         : 0.13
  Upstream Author : Elizabeth Mattijsen <liz@dijkmat.nl>
* URL             : https://metacpan.org/release/Thread-Tie
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : alternative separate thread implementation of shared variables

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.

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(). So you could say that one dark magic (the current
shared variables implementation) is replaced by another dark magic.

The Thread::Tie approach has the following advantages:

* Memory usage - This implementation circumvents the memory leak that currently
  (threads::shared version 0.90) plagues any shared array or shared hash
  access.
* Tieing shared variables - Because the current implementation uses tie-ing,
  you can not tie a shared variable. The same applies for this implementation
  you might say. However, it is possible to specify a non-standard tie
  implementation for use within the thread. So with this implementation you can
  tie() a shared variable. So you could tie a shared hash to a DBM file à la
  dbmopen() with this module.

Of course there are disadvantages to this approach:

* Pure Perl implementation - This module is currently a pure Perl
  implementation. This is ok for a proof of concept, but may need re-
  implementation in pure XS or in Inline::C for production use.

* Tradeoff between cpu and memory - This implementation currently uses (much)
  more cpu than the standard shared variables implementation. Whether this
  would still be true when re-implemented in XS or Inline::C, remains to be seen.

--- End Message ---
--- Begin Message ---
Source: libthread-tie-perl
Source-Version: 0.13-1

We believe that the bug you reported is fixed in the latest version of
libthread-tie-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 779481@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Hoskin <christopher.hoskin@gmail.com> (supplier of updated libthread-tie-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Mar 2015 22:51:08 +0000
Source: libthread-tie-perl
Binary: libthread-tie-perl
Architecture: source all
Version: 0.13-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Christopher Hoskin <christopher.hoskin@gmail.com>
Description:
 libthread-tie-perl - alternative separate thread implementation of shared variables
Closes: 779481
Changes:
 libthread-tie-perl (0.13-1) unstable; urgency=low
 .
   * Initial Release. Closes: #779481
Checksums-Sha1:
 72a1174dea75e8dea1bbd66c8c46a1334946a38c 2258 libthread-tie-perl_0.13-1.dsc
 2005bf888fc6c43b41e76f6b291dc7e6278bbee5 15906 libthread-tie-perl_0.13.orig.tar.gz
 a2492fa439e7ee6c89af88884e1c905e4630bab1 2872 libthread-tie-perl_0.13-1.debian.tar.xz
 3c995aa41d5cad121940b08be099c03953757c1a 31974 libthread-tie-perl_0.13-1_all.deb
Checksums-Sha256:
 2c397f5538a9c849247a6f5bc9eab5b3fe20e38ae56d48cf54b84c14ec0b5dd9 2258 libthread-tie-perl_0.13-1.dsc
 d0e54ae540d298a15e76cb7238fe8e2eda2994c88203958b406d50c6b1ec862f 15906 libthread-tie-perl_0.13.orig.tar.gz
 bbeed433d95a02b98f5cc60f167915ebc48a6b8b5bda69db3ef76e0ba9574933 2872 libthread-tie-perl_0.13-1.debian.tar.xz
 2acd880db8c26511cd47f0f47b4ec5357f06a3690630e4face48b14f86f0e7bf 31974 libthread-tie-perl_0.13-1_all.deb
Files:
 c7b10cb54ba0f8fd9e20a1fb8d0b8337 2258 perl optional libthread-tie-perl_0.13-1.dsc
 33ac1330b19d3cbf035b5d6b1c40c735 15906 perl optional libthread-tie-perl_0.13.orig.tar.gz
 ebcb6124a202756483252c1844c4382e 2872 perl optional libthread-tie-perl_0.13-1.debian.tar.xz
 405308c8662e9858c4be8e411d1da23b 31974 perl optional libthread-tie-perl_0.13-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJU852BXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoG/wcQAKODqwMMXqT4XTIf/NsxFKVm
gK0e6KIM8AfJkO3MRxUL+/Qui/5OCVQPHQxd6d0KJXLbcDzr7jnjK2v1luBwOVvQ
7IiFIY1Tu9x9u61qolHMwN9uG0gGli0eabVB7b856il/coMS7N6nfvODweH8K2Fg
JMRQyqvH4dv4kqm4smzAxLQpgc7WxzLRFKczgdDrTm0BOI8FvcWWKz388JwFgMcP
AvZVwkls1p0Ol7Op8V/UonFbckwODr4/heU74IgFUK1i5Gyf9vlAtMIk1QIBvvQk
8j1rA5KbCINpCtpMQXAxM6ks9t97ThruL7VPdRduJpPCQG8LWPZKOPSgd0srnwmc
kVRjY6yAOz+eavT/YEOksq3ncsAZ1+0JTrGCetLusDSsAxW/NlG9e8yaBA7eUGdD
WynOR8FHHl3TtLAnFdq4iW0mV7O9vDLJkME1hw9MmT+fGvYvnHCCOjE2BExCdkNZ
Iy5qQgmmwMHQgsq7fg5+iTtJ5zwIF8PxOnvUQg1ANQge0hhwVjFy/bppazXCAwui
PfSefHf+af5mXVFXilU/xVq5vS6wAkheSObzJH9wBlg4Buk3oHlHInpHzI39ER5C
9yywpI1tZmDQmIyz4bffzl+iRkGdy+eYljbTaeh/BO9qON5HcX34/iHlEcY6gYPH
lslw5N6QHrUp0baHqaJ8
=XX+N
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: