Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: nspr/pr/src/threads/combined/prulock.c

Issue 170823003: Update to NSS 3.15.5 and NSPR 4.10.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nspr/pr/src/pthreads/ptthread.c ('k') | nspr/pr/src/threads/prrwlock.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nspr/pr/src/threads/combined/prulock.c
===================================================================
--- nspr/pr/src/threads/combined/prulock.c (revision 251855)
+++ nspr/pr/src/threads/combined/prulock.c (working copy)
@@ -197,15 +197,15 @@
PR_ASSERT(!(me->flags & _PR_IDLE_THREAD));
PR_ASSERT(lock != NULL);
#ifdef _PR_GLOBAL_THREADS_ONLY
- PR_ASSERT(lock->owner != me);
_PR_MD_LOCK(&lock->ilock);
+ PR_ASSERT(lock->owner == 0);
lock->owner = me;
return;
#else /* _PR_GLOBAL_THREADS_ONLY */
if (_native_threads_only) {
- PR_ASSERT(lock->owner != me);
_PR_MD_LOCK(&lock->ilock);
+ PR_ASSERT(lock->owner == 0);
lock->owner = me;
return;
}
« no previous file with comments | « nspr/pr/src/pthreads/ptthread.c ('k') | nspr/pr/src/threads/prrwlock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698