Re: share packages

[email protected] (Paul Archer)
Newsgroups perl.ithreads
Message-ID <[email protected]>
Try Elizabeth M's forks package. It's designed as a drop-in replacement for
threads, and has better memory usage in a lot of cases.

3:28pm, Jose L. Hernandez wrote:

> Hi,
>
> I'm working on a server application based on the boss-worker threads model.
> My problem is that the worker threads use a lot of packages, and the memory
> usage is too high.
> Is it possible to share the memory used by the modules? I don't understand
> why it is getting cloned for every thread I start.
>
> Something like  "use MyPackage : shared; " would be nice...
>
> Thanks
>
>
>

----------------------------------------------------------
Reporter: "What do you think will be the biggest problem
          in computing in the 90's?"
Paul Boutin: "There are only 17,000 three-letter acronyms."
----------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.