At 11:31 AM 7/24/02 +0200, Arthur Bergman wrote: >> public current state if not shared: copied when cloning >> shared accessible to all threads, not copied >> private only accessible in thread, not copied >>Ick ick ick ick, we are mixing with OO syntax here :/ >shared, unqiue, unshared is fine, let us not mix public private.
Ok with me, I'm interested in functionality only... and some way to be able to explain it to people... ;-) So the list would be: unshared current state if not shared: copied when cloning shared accessible to all threads, not copied unique only accessible in thread, not copied ? >I am very sceptical against the lets share everything since it will slow >down code, just share what you really want to share. But in a mod_perl environment you might be very much more interested in memory saving! Don't forget the CPU you'll lose (not to mention wallclock time) when a server start going into swap... Having the overhead of having everything shared might be a small price to pay to prevent swapping... Liz
