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

race fixes #566

Merged
merged 1 commit into from
Jan 15, 2015
Merged

race fixes #566

merged 1 commit into from
Jan 15, 2015

Commits on Jan 15, 2015

  1. race fix: pinner loads with a threadsafe datastore

    All the datastores used by pinners and so on should be mutex
    wrapped. One issue with changing all of them from
    ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the
    incoming ds.ThreadSafeDatastore with other datastores, which
    do not implement the interface. Re-wrapping again causes
    double locking. (which may be ok..., but...) any ideas?
    jbenet committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    16690d4 View commit details
    Browse the repository at this point in the history