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

[TIMOB-8314] Force explicit synchronization during JSCore calls. #2038

Merged
merged 2 commits into from Apr 20, 2012
Merged

[TIMOB-8314] Force explicit synchronization during JSCore calls. #2038

merged 2 commits into from Apr 20, 2012

Conversation

sptramer
Copy link
Contributor

Replaces the rwlock on JSCore calls with a recursive mutex. This prevents two contexts from obtaining a read lock at the same time.

@mstepanov
Copy link
Contributor

will CR+FR

@mstepanov
Copy link
Contributor

Functional test PASSED on IPhoneSim 4.3 / iPhone 4S 5.1

@WhichKatieDid
Copy link
Contributor

The only change in behavior I see is that, in multi-context programs, only one context can be interfacing with Kroll at a time. This is an acceptable, and possibly even correct behavior. CR PASSED.

@mstepanov
Copy link
Contributor

Code reviewed. APPROVED

mstepanov pushed a commit that referenced this pull request Apr 20, 2012
[TIMOB-8314] Force explicit synchronization during JSCore calls.
@mstepanov mstepanov merged commit bb163c2 into tidev:master Apr 20, 2012
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.

None yet

3 participants