Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStore the JSContext in TLS for easy access. #322
Conversation
|
Why not put the TLS thing in servo/servo? Why forbid the creation of two unrelated runtimes on a single thread? |
SpiderMonkey requires a 1:1 relationship between a |
|
@bors-servo r+ |
|
|
Store the JSContext in TLS for easy access. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/322) <!-- Reviewable:end -->
|
|
|
I still believe that was the wrong way to go, because now if we want to use the |
Ms2ger commentedDec 20, 2016
•
edited by larsbergstrom
This change is