Click here to get back home

Process syncronization in perl?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Process syncronization in perl? Roy Smith 11-06-2004
Get Chitika Premium
Posted by Roy Smith on November 6, 2004, 5:10 pm
Please log in for more thread options
I need to manage inter-process syncronization in perl. I'm running a
multi-platform software build on 4 machines, all sharing a common NFS
mounted file system. The gist of the operation looks like this:

Step 1: Do some common stuff on a master host (check out a sandbox from
CVS, do some tagging, etc).

Step 2: In parallel on each of 4 different machines (Solaris, Linux,
HP-UX, NT), run one phase of the compilation process.

Step 3: Do some more common CVS stuff on the master.

Step 4: Another compilation phase in parallel on the 4 machines.

Step 5: Finish up with some more common stuff on the master.

The pre-existing build scripts already take care of doing the right
thing on each platform and segregating the platform-specific build
products in distinct directories. What I need to do is get the
inter-step syncronization working.

I'm sure I could roll my own by creating and deleting lock files, but if
there's some pre-existing module which handles this type of stuff, it
would make sense to use that. Does such a module exist?


Similar ThreadsPosted
Win32::Process, SetProcessAffinityMask for an existing process = perl crash May 7, 2006, 6:22 pm
Win32::Process Kill Process in Windows ME April 13, 2005, 1:49 am
Strawberry perl: use Win32::Process ; ? November 18, 2008, 5:50 pm
Getting the name of the process via the process ID December 14, 2004, 7:14 am
how to know that the process is idle ? November 18, 2008, 6:38 am
fork process help needed March 15, 2007, 8:56 pm
starting a background process via Net::SSH::W32Perl September 7, 2004, 10:41 am
CPAN module validation process July 19, 2007, 3:58 pm
Problem in using Win32::Process::Create July 24, 2007, 6:25 am
kill process when file count reached,,. July 1, 2008, 7:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap