I'm just reading in the Perl DBI book about flock. It says it works in
Windows NT/2000, just not on Windows 95/98. That's just what I read, haven't
tested it.

> -----Original Message-----
> From: Brian Shoemaker [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 14, 2001 2:55 PM
> To:   [EMAIL PROTECTED]
> Subject:      flock
> 
> Starting very soon, we'll be changing from Linux to NT.
> 
> Currently, at the beginning of programs I use the following
> use Fcntl qw(:flock);
> then later in the scripts I use
> flock(FILE, LOCK_EX);
> 
> The Perl 5 book I have says flock function doesn't work in Windows
> systems.
> 
> I don't want to create a lock file each time someone accesses a file and
> then have to delete that lock.
> 
> What other options are available in Windows systems?
> 
> Brian Shoemaker

Reply via email to