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.
In reply to Re^3: Module for transparently forking a sub?
by BrowserUk
in thread Module for transparently forking a sub?
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |