in reply to file locking problem!

Take a look at flock maybe?

--
RatArsed

Replies are listed 'Best First'.
Re: Re: file locking problem!
by kiseok7 (Beadle) on Jun 29, 2001 at 18:27 UTC
    thanks:) I know flock but my OS is windows :(
      Still works; at least under ActiveState's distribution (for me, at least)

      --
      RatArsed

        One difference to be aware of is that flock() under Win32 is not advisory like it is most other places. That is, you can't get an exclusive flock() for a file that any other process currently has open, for example.

                - tye (but my friends call me "Tye")