You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Artur Bergman <ar...@contiller.se> on 2001/07/06 20:23:46 UTC

ithreads, threads.pm and threads::shared

Hi

I have been working on some ithreads related issues and Doug thought it
might interest this list.

I have released two modules to CPAN, threads-0.03 and threads-shared-0.01.

threads is a interface that resembles the old Thread.pm (which eventually
will be ported) and lets you maniulate threads from perl space, this is
probobly onlt interesting for making it easier to test thing

threads::shared is the beginning of sharing variables between threads, it
uses a PerlInterpreter stored in threads::sharedsvspace where it creates all
SVs and then has TIE interface to them. Currently it does not support
references nor SPLICE on arrays, I believe this module should be made to
work with mod_perl 2.0

there is also a module coming that is called threads::safe, which is a perl
level safe layer for unsafe perl functions, alas are functions like
localtime/gmtime not safe from the perl level if your C library isn't safe
(Win32 and Digital Unix are the ones I know are (supposed))

There is a mailing list for discussing this at perl-ithreads@perl.org

I would like to say that I think mod_perl is an amazing piece of software
that has helped very much alot of times! I hope the work I do on perl
threading will contribute in making mod_perl 2.0 a solid platform for
developing web applications.

Artur


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org