Skip to content
  • deuce's avatar
    e4c24270
    Add the following note to the docs for File.open(): · e4c24270
    deuce authored
    Note: When shareable is false, uses nopen() which will lock the file
    exclusively and perform automatic retries.  When shareable is true uses
    fopen(), and will only attempt to open the file once and will perform
    no locking.  The behaviour when one script has a file opened with shareable
    set to a different value than is used with a new call is OS specific.
    On Windows, the second open will always fail and on *nix, the second open
    will always succeed.
    e4c24270
    Add the following note to the docs for File.open():
    deuce authored
    Note: When shareable is false, uses nopen() which will lock the file
    exclusively and perform automatic retries.  When shareable is true uses
    fopen(), and will only attempt to open the file once and will perform
    no locking.  The behaviour when one script has a file opened with shareable
    set to a different value than is used with a new call is OS specific.
    On Windows, the second open will always fail and on *nix, the second open
    will always succeed.
Loading