in reply to Re: Threads sharing a Cache::MemoryCache object??
in thread Threads sharing a Cache::MemoryCache object??
"How well is the Object Oriented(OO) pattern supported within Perl Threads?" There must be a fundamental problem with objects memory management within the "shared" thread.
While a hash, and thread to do the purging of expired entries might solve this specific problem; what about the general case? Might there be a "thread space" qualifier, just like a "name space" qualifier? This is a reference to the "rootthread::Cache::Cache" object...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Threads sharing a Cache::MemoryCache object??
by Perlbotics (Archbishop) on Aug 10, 2008 at 11:24 UTC |