-
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.
deuce authoredNote: 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