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

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.