Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Module for transparently forking a sub?by BrowserUk (Patriarch) |
on Feb 13, 2009 at 22:06 UTC ( [id://743721]=note: print w/replies, xml ) | Need Help?? |
If I wind up writing one, maybe I could steal the interface from threads for it. That already exists, but it just as vulnerable to thread-safety problems as ithreads--eg. you probably won't be able to run concurrent DB queries safely; and if you're lucky enough to find thread-safe drivers, concurrent queries will likely not run any quicker than they do serially. And it is not a cross-platform solution; threads is! And for passing back complex data structures, serialising them through a pipe is far slower that using shared memory. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|