Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io/fs: document concurrent guarantees of FS #63915

Open
dsnet opened this issue Nov 2, 2023 · 1 comment
Open

io/fs: document concurrent guarantees of FS #63915

dsnet opened this issue Nov 2, 2023 · 1 comment
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@dsnet
Copy link
Member

dsnet commented Nov 2, 2023

Most usages of fs.FS seem to assume that it is safe to perform concurrent operations. For example, calling fs.FS.Open concurrently. However, the documentation does not guarantee that this is safe. Should we document this guarantee?

@cherrymui cherrymui added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 2, 2023
@cherrymui cherrymui added this to the Backlog milestone Nov 2, 2023
@cherrymui
Copy link
Member

cc @ianlancetaylor @rsc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants