HP3000-L Archives

March 2004, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Fri, 26 Mar 2004 15:25:51 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
From: "Tracy Pierce" <[log in to unmask]>
> great idea, Ken; thanks for your time & trouble.  btw do you see any problem
> with simply using a file's existence as a semaphore?  that is, instead of
> mpex lockfile, just use mpe BUILD XLLOCKED and keep looping until that
> produces cierror=0...

The main drawback is that you are "busy waiting", which uses CPU time when it
doesn't need to.  A smaller drawback is that if a job aborts, a locked file is
automatically unlocked, but a file that exists is not automatically deleted,
so you could have jobs waiting forever until you notice them and fix it
manually.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2