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

Unified Diff: third_party/nss/patches/nspr-attach-as-system-thread.patch

Issue 1701001: Attach a "foreign" thread to NSPR as a "system" thread so that... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 | « third_party/nss/mozilla/nsprpub/pr/src/md/windows/w95thred.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/nss/patches/nspr-attach-as-system-thread.patch
===================================================================
--- third_party/nss/patches/nspr-attach-as-system-thread.patch (revision 0)
+++ third_party/nss/patches/nspr-attach-as-system-thread.patch (revision 0)
@@ -0,0 +1,22 @@
+Index: mozilla/nsprpub/pr/src/md/windows/w95thred.c
+===================================================================
+RCS file: /cvsroot/mozilla/nsprpub/pr/src/md/windows/w95thred.c,v
+retrieving revision 3.18
+diff -u -p -u -8 -r3.18 w95thred.c
+--- mozilla/nsprpub/pr/src/md/windows/w95thred.c 4 Feb 2009 23:44:01 -0000 3.18
++++ mozilla/nsprpub/pr/src/md/windows/w95thred.c 20 Apr 2010 18:06:13 -0000
+@@ -304,13 +304,13 @@ PRThread*
+ _MD_CURRENT_THREAD(void)
+ {
+ PRThread *thread;
+
+ thread = _MD_GET_ATTACHED_THREAD();
+
+ if (NULL == thread) {
+ thread = _PRI_AttachThread(
+- PR_USER_THREAD, PR_PRIORITY_NORMAL, NULL, 0);
++ PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, NULL, 0);
+ }
+ PR_ASSERT(thread != NULL);
+ return thread;
+ }
Property changes on: third_party\nss\patches\nspr-attach-as-system-thread.patch
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/nss/mozilla/nsprpub/pr/src/md/windows/w95thred.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698