Closed Bug 654884 Opened 14 years ago Closed 14 years ago

TM: Create JS_ASSERT_LOCKED(cx, tl)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: cdleary, Assigned: cdleary)

Details

Wanted to check that the atoms compartment was locked in some code that I'm writing and I realized that this functionality is missing. We should be able to trivially tie this into PR_ASSERT_CURRENT_THREAD_OWNS_LOCK which also fatally asserts http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prlock.h#129 on the defined(NSPR_LOCK) side -- this bug is mostly for the !NSPR_LOCK code that I'll write.
Ended up not needing it for the patch I was making.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.