mirror of
https://github.com/VibeDarling/darling-cfnetwork.git
synced 2026-11-15 09:48:07 -10:00
master
Under the fragile Objective-C runtime (such as i386 fat slices), Clang forbids declaring instance variables inside class extensions: 'error: instance variables may not be placed in class extension'. Move _bodyObserver into the internal __NSCFURLSessionDataTask class ivar list in NSCFURLSession.h. Also protect _bodyObserver reads and updates with @synchronized(self) to prevent concurrent invocation and release across the curl transport thread and task control threads. Specification: Rung 3 (Objective-C runtime and language specification).
Languages
C
87.3%
Objective-C
8.1%
C++
2.6%
Makefile
1.3%
JavaScript
0.4%
Other
0.3%