Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/expo/ios/vendored/sdk49/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h44 ReanimatedReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReanimatedReentrancyCheck()
47 std::thread::id this_id = std::this_thread::get_id(); in before()
48 std::thread::id expected = std::thread::id(); in before()
93 std::thread::id expected = std::this_thread::get_id(); in after()
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
100 std::atomic<std::thread::id> tid;
/expo/android/vendored/unversioned/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h44 ReanimatedReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReanimatedReentrancyCheck()
47 std::thread::id this_id = std::this_thread::get_id(); in before()
48 std::thread::id expected = std::thread::id(); in before()
93 std::thread::id expected = std::this_thread::get_id(); in after()
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
100 std::atomic<std::thread::id> tid;
/expo/ios/vendored/unversioned/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h44 ReanimatedReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReanimatedReentrancyCheck()
47 std::thread::id this_id = std::this_thread::get_id(); in before()
48 std::thread::id expected = std::thread::id(); in before()
93 std::thread::id expected = std::this_thread::get_id(); in after()
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
100 std::atomic<std::thread::id> tid;
/expo/android/vendored/sdk49/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h44 ReanimatedReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReanimatedReentrancyCheck()
47 std::thread::id this_id = std::this_thread::get_id(); in before()
48 std::thread::id expected = std::thread::id(); in before()
93 std::thread::id expected = std::this_thread::get_id(); in after()
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
100 std::atomic<std::thread::id> tid;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/hermes/executor/
H A DABI49_0_0HermesExecutorFactory.cpp35 std::shared_ptr<MessageQueueThread> thread) in HermesExecutorRuntimeAdapter() argument
36 : runtime_(runtime), thread_(std::move(thread)) {} in HermesExecutorRuntimeAdapter()
64 ReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReentrancyCheck()
67 std::thread::id this_id = std::this_thread::get_id(); in before()
68 std::thread::id expected = std::thread::id(); in before()
113 std::thread::id expected = std::this_thread::get_id(); in after()
115 expected, std::thread::id(), std::memory_order_relaxed); in after()
120 std::atomic<std::thread::id> tid;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/
H A DABI49_0_0RCTAssert.h162 #define ABI49_0_0RCTAssertThread(thread, ...) … argument
164 …[(id)thread isKindOfClass:[NSString class]] ? [ABI49_0_0RCTCurrentThreadName() isEqualToStri…
165 …: [(id)thread isKindOfClass:[NSThread class]] ? [NSThread currentThread] == (NSThread *)thread
166 … : dispatch_get_current_queue() == (dispatch_queue_t)thread, \
172 #define ABI49_0_0RCTAssertThread(thread, ...) \ argument
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Base/
H A DABI48_0_0RCTAssert.h162 #define ABI48_0_0RCTAssertThread(thread, ...) … argument
164 …[(id)thread isKindOfClass:[NSString class]] ? [ABI48_0_0RCTCurrentThreadName() isEqualToStri…
165 …: [(id)thread isKindOfClass:[NSThread class]] ? [NSThread currentThread] == (NSThread *)thread
166 … : dispatch_get_current_queue() == (dispatch_queue_t)thread, \
172 #define ABI48_0_0RCTAssertThread(thread, ...) \ argument
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/hermes/executor/
H A DABI48_0_0HermesExecutorFactory.cpp45 std::shared_ptr<MessageQueueThread> thread) in HermesExecutorRuntimeAdapter() argument
46 : runtime_(runtime), thread_(std::move(thread)) {} in HermesExecutorRuntimeAdapter()
76 ReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReentrancyCheck()
79 std::thread::id this_id = std::this_thread::get_id(); in before()
80 std::thread::id expected = std::thread::id(); in before()
125 std::thread::id expected = std::this_thread::get_id(); in after()
127 expected, std::thread::id(), std::memory_order_relaxed); in after()
132 std::atomic<std::thread::id> tid;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/hermes/executor/
H A DABI47_0_0HermesExecutorFactory.cpp46 std::shared_ptr<MessageQueueThread> thread) in HermesExecutorRuntimeAdapter() argument
49 thread_(std::move(thread)) {} in HermesExecutorRuntimeAdapter()
84 ReentrancyCheck() : tid(std::thread::id()), depth(0) {} in ReentrancyCheck()
87 std::thread::id this_id = std::this_thread::get_id(); in before()
88 std::thread::id expected = std::thread::id(); in before()
133 std::thread::id expected = std::this_thread::get_id(); in after()
135 expected, std::thread::id(), std::memory_order_relaxed); in after()
140 std::atomic<std::thread::id> tid;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Base/
H A DABI47_0_0RCTAssert.h162 #define ABI47_0_0RCTAssertThread(thread, format...) … argument
164 …[(id)thread isKindOfClass:[NSString class]] ? [ABI47_0_0RCTCurrentThreadName() isEqualToStri…
165 …: [(id)thread isKindOfClass:[NSThread class]] ? [NSThread currentThread] == (NSThread *)thread
166 … : dispatch_get_current_queue() == (dispatch_queue_t)thread, \
172 #define ABI47_0_0RCTAssertThread(thread, format...) \ argument
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/
H A DUtils.kt9 if (Thread.currentThread() !== Looper.getMainLooper().thread) { in assertMainThread()
12 Looper.getMainLooper().thread.name in assertMainThread()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/
H A DUtils.kt9 if (Thread.currentThread() !== Looper.getMainLooper().thread) { in assertMainThread()
12 Looper.getMainLooper().thread.name in assertMainThread()
/expo/packages/expo-dev-launcher/android/src/test/java/expo/modules/devlauncher/helpers/
H A DDevLauncherCoroutinesExtensionsTest.kt12 fun `checks if runBlockingOnMainThread runs on main thread`() { in checks if runBlockingOnMainThread runs on main thread()
14 Truth.assertThat(Thread.currentThread()).isEqualTo(Looper.getMainLooper().thread) in checks if runBlockingOnMainThread runs on main thread()
/expo/android/expoview/src/main/java/host/exp/exponent/
H A DExponentUncaughtExceptionHandler.kt11 override fun uncaughtException(thread: Thread, ex: Throwable) { in uncaughtException()
18 oldExceptionHandler.uncaughtException(thread, ex) in uncaughtException()
/expo/ios/vendored/sdk47/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DABI47_0_0RNSkiOSPlatformContext.mm4 #include <thread>
27 // Fire and forget the thread - will be resolved on completion
28 std::thread(loader).detach();
/expo/ios/vendored/sdk48/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DABI48_0_0RNSkiOSPlatformContext.mm4 #include <thread>
27 // Fire and forget the thread - will be resolved on completion
28 std::thread(loader).detach();
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/CoreModules/
H A DABI49_0_0RCTEventDispatcher.mm32 // thread and consumed on js thread.
90 // different thread, causing a crash.
109 // different thread, causing a crash.
212 // js thread only (which surprisingly can be the main thread, depends on used JS executor)
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/CoreModules/
H A DABI48_0_0RCTEventDispatcher.mm32 // thread and consumed on js thread.
90 // different thread, causing a crash.
109 // different thread, causing a crash.
212 // js thread only (which surprisingly can be the main thread, depends on used JS executor)
/expo/ios/vendored/unversioned/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DRNSkiOSPlatformContext.mm4 #include <thread>
52 // Fire and forget the thread - will be resolved on completion
53 std::thread(loader).detach();
/expo/ios/vendored/sdk49/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DABI49_0_0RNSkiOSPlatformContext.mm4 #include <thread>
52 // Fire and forget the thread - will be resolved on completion
53 std::thread(loader).detach();
/expo/packages/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/helpers/
H A DDevLauncherCoroutinesExtensions.kt9 if (Thread.currentThread() == Looper.getMainLooper().thread) { in runBlockingOnMainThread()
/expo/packages/expo-gl/ios/
H A DEXGLView.mm151 // update viewBuffersSize on UI thread (before actual resize takes place)
236 // exglCtxId may be unset if we get here (on the UI thread) before EXGLContextCreate(...) is
237 …// called on the JS thread to create the EXGL context and save its id (see EXGLContext.initializeC…
260 // [GL thread] blits framebuffers and then sets a flag that informs UI thread
295 // [GL thread]
307 // [JS thread]
313 // [GL thread]
/expo/ios/versioned/sdk47/EXGL/ios/EXGL/
H A DABI47_0_0EXGLView.mm151 // update viewBuffersSize on UI thread (before actual resize takes place)
236 …// exglCtxId may be unset if we get here (on the UI thread) before ABI47_0_0EXGLContextCreate(...)…
237 …// called on the JS thread to create the ABI47_0_0EXGL context and save its id (see ABI47_0_0EXGLC…
260 // [GL thread] blits framebuffers and then sets a flag that informs UI thread
295 // [GL thread]
307 // [JS thread]
313 // [GL thread]
/expo/ios/versioned/sdk48/ExpoGL/ios/
H A DABI48_0_0EXGLView.mm151 // update viewBuffersSize on UI thread (before actual resize takes place)
236 …// exglCtxId may be unset if we get here (on the UI thread) before ABI48_0_0EXGLContextCreate(...)…
237 …// called on the JS thread to create the ABI48_0_0EXGL context and save its id (see ABI48_0_0EXGLC…
260 // [GL thread] blits framebuffers and then sets a flag that informs UI thread
295 // [GL thread]
307 // [JS thread]
313 // [GL thread]
/expo/ios/versioned/sdk49/ExpoGL/ios/
H A DABI49_0_0EXGLView.mm151 // update viewBuffersSize on UI thread (before actual resize takes place)
236 …// exglCtxId may be unset if we get here (on the UI thread) before ABI49_0_0EXGLContextCreate(...)…
237 …// called on the JS thread to create the ABI49_0_0EXGL context and save its id (see ABI49_0_0EXGLC…
260 // [GL thread] blits framebuffers and then sets a flag that informs UI thread
295 // [GL thread]
307 // [JS thread]
313 // [GL thread]

12345678910>>...14