Last Comment Bug 776388 - Use PR_GLOBAL_THREAD for JS interp threads
: Use PR_GLOBAL_THREAD for JS interp threads
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: general
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-22 12:27 PDT by :Benjamin Peterson
Modified: 2012-07-24 02:58 PDT (History)
5 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
do it (1.50 KB, patch)
2012-07-22 12:28 PDT, :Benjamin Peterson
terrence: review+
Details | Diff | Review

Description :Benjamin Peterson 2012-07-22 12:27:24 PDT
This is what nsThread does with PR threads. Apparently, it keeps PR from helpfully "scheduling" your threads for you.
Comment 1 :Benjamin Peterson 2012-07-22 12:28:53 PDT
Created attachment 644778 [details] [diff] [review]
do it
Comment 2 Terrence Cole [:terrence] 2012-07-23 09:35:33 PDT
Comment on attachment 644778 [details] [diff] [review]
do it

Review of attachment 644778 [details] [diff] [review]:
-----------------------------------------------------------------

We need to see if this is a benchmark win too.
Comment 3 Ed Morley [:emorley] 2012-07-24 02:58:46 PDT
https://hg.mozilla.org/mozilla-central/rev/2a063fbe3d32

Note You need to log in before you can comment on or make changes to this bug.