Skip to content

Check that access to context base is singlethreaded. #894

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

Merged
merged 1 commit into from
Oct 31, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Oct 31, 2015

ContextBase is not intended to be threadsafe, We now test that
indeed it is not shared by compileUnits calls operating on
different threads. Review by @DarkDimius.

@DarkDimius
Copy link
Contributor

out/.keep

this file shouldn't be deleted. It will break tests in CI and new clones of the repo.

@odersky
Copy link
Contributor Author

odersky commented Oct 31, 2015

But sbt deletes .keep. Or it flips it around all the time! Can you push a .gitignore which makes that problem go away?

ContextBase is not intended to be threadsafe, We now test that
indeed it is not shared by compileUnits calls operating on
different threads.
@odersky odersky force-pushed the check-singlethreaded branch from 105e8c0 to 5b2d94a Compare October 31, 2015 08:58
@odersky
Copy link
Contributor Author

odersky commented Oct 31, 2015

Force pushed a version that keeps out/.keep.

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Oct 31, 2015
Check that access to context base is singlethreaded.
@DarkDimius DarkDimius merged commit c5fedba into scala:master Oct 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants