in reply to Re^2: Testing if your code successfully flockedin thread Testing if your code successfully flocked
Update: Interestingly, on linux the above code outputs
1 0 [download]
So there the lock seems to be associated with the handle, not the file.