12:18pm, Martín Ferrari wrote:
Also, I found today the Elizabeth Mattijsen's forks.pm module, and
read that it uses TCP communication (why not UNIX, or -again- mmap?).
Anyway, that seems to me the best approach, as it would be lighter
than ithreads, and I just need to pass messages and a couple of shared
variables across threads.
Can't help you will all of this, but I do know that forks.pm is a good
alternative to threads. And as for your question about why TCP: because it's
cross-platform. It should work on Windows, Linux, whatever.
Paul
---------------------------------------
-- In 1555, Nostradamus wrote: --
-- Come the millennium, month 12, --
-- In the home of greatest power, --
-- The village idiot will come forth --
-- To be acclaimed the leader. --
---------------------------------------