Ensure thread safety in the exeuction of RuntimeExecutor
Summary: This diff ensures thread safety for operations invoked by the runtime executor Reviewed By: shergin Differential Revision: D13136340 fbshipit-source-id: 119092dff29b37f39d4bcdcc34f1c34d638b7e07
This commit is contained in:
parent
f2894e58cf
commit
0357d0de64
|
@ -7,12 +7,16 @@
|
|||
package com.facebook.react.fabric;
|
||||
|
||||
import com.facebook.react.bridge.JavaScriptContextHolder;
|
||||
import com.facebook.react.bridge.queue.MessageQueueThread;
|
||||
|
||||
public interface FabricBinding {
|
||||
|
||||
// TODO: T31905686 change types of UIManager and EventBeatManager when moving to OSS
|
||||
void register(
|
||||
JavaScriptContextHolder jsContext, FabricBinder fabricBinder, Object eventBeatManager);
|
||||
JavaScriptContextHolder jsContext,
|
||||
FabricBinder fabricBinder,
|
||||
Object eventBeatManager,
|
||||
MessageQueueThread jsMessageQueueThread);
|
||||
|
||||
void unregister();
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ EXPORTED_HEADERS = [
|
|||
"CxxSharedModuleWrapper.h",
|
||||
"JavaModuleWrapper.h",
|
||||
"JavaScriptExecutorHolder.h",
|
||||
"JMessageQueueThread.h",
|
||||
"JReactMarker.h",
|
||||
"JSLoader.h",
|
||||
"JSLogging.h",
|
||||
|
|
Loading…
Reference in New Issue