in reply to Re: mutual exclusion and file locking on windows
in thread mutual exclusion and file locking on windows

It must be that flock works only on NT and Windows 2000. I tried your flock code and got the same failure on a Windows 98 machine, but it ran without error on a Windows 2000 server machine (ActiveState 626). Thanks for your help.
  • Comment on Re: Re: mutual exclusion and file locking on windows

Replies are listed 'Best First'.
Re: Re: Re: mutual exclusion and file locking on windows
by tachyon (Chancellor) on Aug 07, 2001 at 22:17 UTC

    No worries. I posted a question at Flock 'n Windows if you want to see all the systems that don't support flock. Using a semaphore is the workaround.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print