You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that if I try to use create_dir_all() to create the exact same path from multiple independent tasks at the same time that I risk an error being returned, but what happens if I have the same parent directory with multiple independent subdirectories all of which are being created at the same time, but from independent tasks? E.g.:
/tmp/foo/a
/tmp/foo/b
/tmp/foo/c
are all being created concurrently, from independent tasks, and initially foo doesn't exist. Will this result in an error being returned?
The text was updated successfully, but these errors were encountered:
I have a question regarding
async_std::fs::create_dir_all()
, I hope that you can answer it here.I know that if I try to use
create_dir_all()
to create the exact same path from multiple independent tasks at the same time that I risk an error being returned, but what happens if I have the same parent directory with multiple independent subdirectories all of which are being created at the same time, but from independent tasks? E.g.:are all being created concurrently, from independent tasks, and initially
foo
doesn't exist. Will this result in an error being returned?The text was updated successfully, but these errors were encountered: