Skip to content

Commit 03f0b2f

Browse files
Rollup merge of #153647 - TKanX:docs/153618-file-lock-cross-process, r=Mark-Simulacrum
docs(fs): Clarify That File::lock Coordinates Across Processes ### Summary: The documentation for `lock`, `lock_shared`, `try_lock`, and `try_lock_shared` did not make it clear that these are OS level file locks that coordinate access across processes, not just between handles within the current process. Add "in this or any other process" to each method's existing description to clarify this. Fixes rust-lang/rust#153618 r? @Mark-Simulacrum
2 parents 1e38342 + 2808770 commit 03f0b2f

0 file changed

File tree

    0 commit comments

    Comments
     (0)