Seeing as this is already labeled as "geeky", let me add that it is nice to put your PID in the lockfile so that if a new instance of the program finds it, it can determine if the lockfile is stale by checking for the PID of the program that created it. Steve Moffat (my $.05, cuz we don't use pennies any more) From: roundtable-request@muug.mb.ca To: roundtable@muug.mb.ca, Date: 07/13/2012 12:01 PM Subject: Roundtable Digest, Vol 91, Issue 3 Sent by: roundtable-bounces@muug.mb.ca Send Roundtable mailing list submissions to roundtable@muug.mb.ca To subscribe or unsubscribe via the World Wide Web, visit http://www.muug.mb.ca/mailman/listinfo/roundtable or, via email, send a message with subject or body 'help' to roundtable-request@muug.mb.ca You can reach the person managing the list at roundtable-owner@muug.mb.ca When replying, please edit your Subject line so it is more specific than "Re: Contents of Roundtable digest..." Today's Topics: 1. Re: race conditions? (John Lange) ---------------------------------------------------------------------- Message: 1 Date: Thu, 12 Jul 2012 23:18:49 -0400 From: John Lange <john@johnlange.ca> To: Continuation of Round Table discussion <roundtable@muug.mb.ca> Subject: Re: [RndTbl] race conditions? Message-ID: <CAPfXoshL7BUo+3HWe+5v0FNs61VMa1BnTa7d5xBYYY=sBNyhQg@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I nominate this as the geekiest thread on MUUG in recent memory. Nicely done boys! Reminds me why i'm on this list. Oh ya, and what Sean(s) said. Lockfile. John