in reply to Re^2: threads question
in thread threads question

Yes. The namespaces are confusing.

Unfortunately, several of the Thread::* modules intended for use with 5005threads are non-useful with ithreads, but will likely never be removed or upgraded.

The good news is that liz generated several new modules that are. Thread::Use is small and rather uninspiringly named, but extremely Use-ful.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^4: threads question
by Forsaken (Friar) on Jul 17, 2004 at 20:21 UTC
    it is indeed :-) saves me a good chunk of memory even with just 5 threads running. Tx for the tip.
      perldoc -f use perldoc -f require

        Thread::Use may be small, but it does much more than just require, or even require + import. Traversing the @ISA tree may not be horribly complex, but it's complex enough that it is easy to get it wrong.


        Examine what is said, not who speaks.
        "Efficiency is intelligent laziness." -David Dunham
        "Think for yourself!" - Abigail
        "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon