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

Change Link.update and Link.updateSync to operate atomically #12414

Closed
whesse opened this issue Aug 13, 2013 · 4 comments
Closed

Change Link.update and Link.updateSync to operate atomically #12414

whesse opened this issue Aug 13, 2013 · 4 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-stale Closed as the issue or PR is assumed stale library-io P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@whesse
Copy link
Member

whesse commented Aug 13, 2013

Currently dart:io's Link.update just calls Link.delete and Link.create.

An atomic change of the target of a link can be accomplished by creating the new link with a different name, and then renaming it to the same name as the old link, using the POSIX replace() call. This atomically replaces the old link.

@andersjohnsen
Copy link

Removed the owner.

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Library-IO, Area-Library labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@whesse whesse added Type-Enhancement P3 A lower priority bug or feature request library-io area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Aug 4, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed accepted labels Feb 29, 2016
@lrhn lrhn closed this as completed Apr 8, 2024
@lrhn lrhn added the closed-stale Closed as the issue or PR is assumed stale label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-stale Closed as the issue or PR is assumed stale library-io P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants