Skip to content

file locking #7176

@StefanKarpinski

Description

@StefanKarpinski

Sometimes you want to make sure that multiple processes don't update the same file at the same time. For example, Pkg should lock the ~/.julia/REQUIRE file when installing or removing packages, and when writing the the ~/.julia_history` file, the REPL should lock it (or use atomic operations like seek-and-write in a true append mode).

Metadata

Metadata

Assignees

Labels

help wantedIndicates that a maintainer wants help on an issue or pull request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions