in reply to Re^2: Lightweight Solution To "Only 1 Process Running" On AIX (fcntl)
in thread Lightweight Solution To "Only 1 Process Running" On AIX
You can do fcntl-based locking in pure Perl. Now that you mention that File::FcntlLock has an XS component, I bet it only does that to avoid what might seem somewhat hackish use of pack. I suspect google can pretty quickly find you examples of how to do this is plain Perl (or just follow the documentation -- it isn't rocket surgery).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Lightweight Solution To "Only 1 Process Running" On AIX (fcntl)
by Anonymous Monk on May 16, 2014 at 10:31 UTC | |
by tye (Sage) on May 16, 2014 at 13:40 UTC |