Bug 1087605: don't try to set the priority of the CCApp thread (which doesn't exist) r=bwc
authorRandell Jesup <rjesup@jesup.org>
Wed, 29 Oct 2014 01:36:18 -0400
changeset 213039 e82273c162bf9e7fc764d426a217994c31b702b9
parent 213038 e1e7603c2455d33cbbf4660ab92af33c8b98cad8
child 213040 8ccb2bf14892d13c278580667b2a1670e5ec2b88
push id27738
push usercbook@mozilla.com
push dateThu, 30 Oct 2014 13:46:07 +0000
treeherdermozilla-central@1aa1b23d799e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1087605
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1087605: don't try to set the priority of the CCApp thread (which doesn't exist) r=bwc
media/webrtc/signaling/src/sipcc/core/ccapp/ccprovider.c
--- a/media/webrtc/signaling/src/sipcc/core/ccapp/ccprovider.c
+++ b/media/webrtc/signaling/src/sipcc/core/ccapp/ccprovider.c
@@ -356,21 +356,16 @@ void CCAppInit()
   ccapp_set_state(CC_CREATED_IDLE);
   gCCApp.cause = CC_CAUSE_NONE;
   gCCApp.mode = CC_MODE_INVALID;
   gCCApp.cucm_mode = NONE_AVAIL;
   if (platThreadInit("CCApp_Task") != 0) {
     return;
   }
 
-  /*
-   * Adjust relative priority of CCApp thread.
-   */
-  (void) cprAdjustRelativeThreadPriority(CCPROVIDER_THREAD_RELATIVE_PRIORITY);
-
   debug_bind_keyword("cclog", &g_CCLogDebug);
   srvcState.cause = gCCApp.cause;  // XXX set but not used
   srvcState.mode = gCCApp.mode;  // XXX set but not used
   (void) srvcState;
 
   //Add listeners
   //CCProvider lister
   DEF_DEBUG(DEB_F_PREFIX"Add ccp listener: type%d", DEB_F_PREFIX_ARGS(SIP_CC_PROV, "CCAppInit"),