As mentioned previously, I have been working on creating a CPAN version of the 'threads' module. That work is now complete, and includes the following enhancements over the core code: The module has been tested under the following Perl versions and OSs: Once Artur Bergman makes me a co-maintainer for 'threads' on PAUSE, I will upload it.

If anyone is interested in obtaining a pre-upload copy of the module, please email me directly at: jdhedden AT cpan DOT org

UPDATE: Uploaded to CPAN on 3/13/06. Enjoy.


Remember: There's always one more bug.

Replies are listed 'Best First'.
Re: FYI: 'threads' module ready for CPAN
by jdhedden (Deacon) on Mar 10, 2006 at 22:01 UTC
    Added $thr->_handle() method
    From the (updated) POD:

    This private method returns the memory location of the internal thread structure associated with a threads object. For Win32, this is the handle returned by CreateThread; for other platforms, it is the pointer returned by pthread_create.

    This method is of no use for general Perl threads programming. Its intent is to provide other thread modules with the capability to access, and possibly manipulate, the underlying thread structure associated with a Perl thread.


    Remember: There's always one more bug.