Bug 1087605 - Don't try to set the priority of the CCApp thread (which doesn't exist). r=bwc, a=lsblakk
authorRandell Jesup <rjesup@jesup.org>
Wed, 29 Oct 2014 01:36:18 -0400
changeset 225883 e35984b580fb
parent 225882 926c3f3f1f3a
child 225884 ac59c74b9386
push id4055
push userryanvm@gmail.com
push date2014-10-31 01:17 +0000
treeherdermozilla-beta@12a8a2d96453 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc, lsblakk
bugs1087605
milestone34.0
Bug 1087605 - Don't try to set the priority of the CCApp thread (which doesn't exist). r=bwc, a=lsblakk
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"),