summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-10-29 14:42:21 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-10-29 14:42:21 -0400
commit547a7318bed09f1be57f4ae20364ea756d72a279 (patch)
tree869098605d3532a40b9b70d5b2da65ce6d4641df
parent0eaf43f072e294ed417c5a47defc6f754103ec7f (diff)
downloadsdl_ios-547a7318bed09f1be57f4ae20364ea756d72a279.tar.gz
Put SDL queues at the highest priority
-rw-r--r--SmartDeviceLink/private/SDLGlobals.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/private/SDLGlobals.m b/SmartDeviceLink/private/SDLGlobals.m
index 00d764edb..db731993a 100644
--- a/SmartDeviceLink/private/SDLGlobals.m
+++ b/SmartDeviceLink/private/SDLGlobals.m
@@ -60,8 +60,8 @@ typedef NSNumber *MTUBox;
_rpcVersion = [[SDLVersion alloc] initWithString:@"1.0.0"];
_dynamicMTUDict = [NSMutableDictionary dictionary];
- dispatch_queue_attr_t qosSerial = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INITIATED, 0);
- dispatch_queue_attr_t qosConcurrent = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_CONCURRENT, QOS_CLASS_USER_INITIATED, 0);
+ dispatch_queue_attr_t qosSerial = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INTERACTIVE, 0);
+ dispatch_queue_attr_t qosConcurrent = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_CONCURRENT, QOS_CLASS_USER_INTERACTIVE, 0);
_sdlProcessingQueue = dispatch_queue_create(SDLProcessingQueueName, qosSerial);
dispatch_queue_set_specific(_sdlProcessingQueue, SDLProcessingQueueName, SDLProcessingQueueName, NULL);