Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Atomic operation

by tilly (Archbishop)
on Jul 20, 2009 at 18:29 UTC ( #781719=note: print w/replies, xml ) Need Help??

in reply to Re^2: Atomic operation
in thread Atomic operation

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.

Replies are listed 'Best First'.
Re^4: Atomic operation
by ikegami (Pope) on Jul 20, 2009 at 18:43 UTC

    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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2020-06-05 00:51 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.