Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Atomic operation

by ikegami (Patriarch)
on Jul 20, 2009 at 17:56 UTC ( [id://781705]=note: print w/replies, xml ) Need Help??


in reply to Re: Atomic operation
in thread Atomic operation

Works fine in Windows too.

Replies are listed 'Best First'.
Re^3: Atomic operation
by tilly (Archbishop) on Jul 20, 2009 at 18:29 UTC
    I believe the semantics on Windows differ slightly from *nix. (On Unix locks are advisory, on Windows they are mandatory.) Also the semantics on *nix vary based on the filesystem. (NFS is different than remote Windows is different from local filesystem.)

    Which underscores the importance of having a unit test.

      on Windows they are mandatory

      hum, I was sure Windows had both kinds, but I can't find anything on advisory locks.

      flock creates mandatory locks on Windows. I did not know that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://781705]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found