|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Fork + Memoryby Anonymous Monk |
| on Dec 30, 2003 at 00:58 UTC ( [id://317630]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Threads are different of course, since two threads can modify the same variable/data without causing a copy. Causing a unique copy if they both wrote to the same data would defeat the point of the thread concept, since they are supposed to share the same data anway, right? Right. In theory, unfortunately in current perl threading, everything is copied (and not copy on write), and sharing must be done explicitly. (see this thread for example).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||