-
### 创建和启动线程的三种方式
> 先创建,后启动
``` Objective-C
NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(download:) object:nil];
[thread start];
```
> 创建完自动启动
``` Objective-C
[NSThre…
-
Hi! Could you please add `NSThread` bindings ([shouldn't be very hard](https://developer.apple.com/documentation/foundation/nsthread)). Or is there a guide explaining adding new bindings? Thanks.
-
@@ -863,8 +867,8 @@
packetBufferSize = 0;
self.state = AS_INITIALIZED;
- internalThread = nil;
[internalThread release];
+ internalThread = nil;
}
[poo…
-
Integrated version 2.10.7, online crash
com.apple.root.default-qos
0 libsystem_kernel.dylib 0x27b54 __semwait_signal + 8
1 libsystem_c.dylib 0x70ab4 nanosleep + 212
2 Fou…
-
when i use AWSiOSSDKV2 2.37.2, I get this crash report。
I use IoT APIs like this
```
DispatchQueue.global(qos: .background).async{
self.awsIoTDataManager
.connectUsingWebSocke…
-
`NSThread+RHBlockAdditions.h` crashes (SIGSTOP) in
`[self performSelector:@selector(_rh_runBlock:) onThread:self withObject:[block copy] waitUntilDone:wait];`
When coming from `-(NSString*)compo…
-
Threads started by libdispatch currently don’t clean up their NSThread data when the threads exit. This can cause issues e.g. when `[[NSThread currentThread] threadDictionary]` is used from such threa…
-
On profiling an app with the following code, running on iOS 4.3 simulator with PLWeakCompatibility, I am getting a leak in the Leaks instrument, saying that the struct TLS (as well as the dictionaries…
-
JetFire runs its background stream handler by dispatching a block to a system concurrent dispatch queue, starting a runloop, and running it indefinitely until the socket closes. This works, but I beli…
-
Version 5.2.6 of the SDK. This occurred on an iPhone 15 on iOS 18.0.1
The http request right before the error was (I believe this might have caused it):
PATCH: https://api.onesignal.com/apps/[ID]/…