react-native-macos/Libraries/NativeAnimation
Valentin Shergin 30e9443487 Fabric: Fixed threading issue in RCTNativeAnimatedModule
Summary:
The previous version of the code accessed `_animIdIsManagedByFabric` on the main thread (which is should be accessed on the UIManager thread) and called `flushOperationQueues` on the main thread as well (also must be called on UIManager thread because it modifies instance variables (e.g. `_operations`) which supposed to be accessed on UIManager thread).

The diff fixes that introducing an additional queue jump. That's should be fine because the overall architecture of RCTNativeAnimatedModule is appeared to be asynchronous and should be resilient to possible races.

Reviewed By: sammy-SC

Differential Revision: D17523958

fbshipit-source-id: c4b4ce38b68b009726b2f6c28c38b32b9f9d6921
2019-09-23 09:30:38 -07:00
..
Drivers Remove ; from method implementation definition 2019-08-21 15:49:16 -07:00
Nodes Remove ; from method implementation definition 2019-08-21 15:49:16 -07:00
RCTAnimationUtils.h Support the `Slow Animations` option of the iOS simulator (#21157) 2018-09-20 16:18:03 -07:00
RCTAnimationUtils.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTNativeAnimatedModule.h iOS: Revert RCT->RN prefix renaming to avoid confusion 2019-08-08 07:21:25 -07:00
RCTNativeAnimatedModule.m Fabric: Fixed threading issue in RCTNativeAnimatedModule 2019-09-23 09:30:38 -07:00
RCTNativeAnimatedNodesManager.h More iOS animation fixes 2019-04-08 09:15:14 -07:00
RCTNativeAnimatedNodesManager.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
React-RCTAnimation.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00