in reply to Re^2: Module for transparently forking a sub?
in thread Module for transparently forking a sub?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Module for transparently forking a sub?
by kyle (Abbot) on Feb 13, 2009 at 22:12 UTC | |
by Corion (Patriarch) on Feb 13, 2009 at 22:18 UTC | |
by kyle (Abbot) on Feb 13, 2009 at 22:24 UTC |