Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
file locking on mountsystem
System
I need to lock a file from a perl script to prevent concurrent
access.
use Fcntl ':flock';
"(flock(FILE,LOCK_EX))";
returns always TRUE nor matter if I try locking this file
from a second script or not. Is flock not working
in the IW file system? Does anybody knows another
method to achive that?
Thanks for help!
Find more posts tagged with
Comments
sajiddc
Not sure but shouldn't the file get automatically locked if you open it for write/append?
Migrateduser
You could try the iwlock CLT. Resides in .../iw-home/bin
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com