facebookincubator / SocketRocket

A conforming Objective-C WebSocket client library.
Other
9.54k stars 2.01k forks source link

iOS16.0 线程警告提示 #650

Open wangjie172767 opened 2 years ago

wangjie172767 commented 2 years ago

(NSRunLoop *)runLoop; { dispatch_group_wait(_waitGroup, DISPATCH_TIME_FOREVER); return _runLoop; } pod集成, xcode:14.0,iphone14pro,iOS16.0 ,SocketRocket (0.6.0) 警告提示: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions

Daemonson commented 2 years ago

The same as #648

jihengcong commented 1 year ago

Have you solved this problem

Wxm510846302 commented 1 year ago

// // Copyright 2012 Square Inc. // Portions Copyright (c) 2016-present, Facebook, Inc. // // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. //

import "SRRunLoopThread.h"

import

@interface SRRunLoopThread () //{ // dispatch_group_t _waitGroup; //}

@property (nonatomic, strong, readwrite) NSRunLoop *runLoop; @property (assign, nonatomic) pthread_mutex_t lock; @property (assign, nonatomic) pthread_cond_t cond; @end

@implementation SRRunLoopThread

@end