MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / invokeSync

Function invokeSync

android/src/rpcsx-android.cpp:984–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982}
983
984static void invokeSync(std::function<void(JNIEnv *)> cb) {
985 atomic_t<u32> wakeup{false};
986 g_mainThreadProcessor.push(std::move(cb), &wakeup);
987
988 while (wakeup.load() == false) {
989 wakeup.wait(false);
990 }
991}
992
993struct ProgressMessageDialog : MsgDialogBase {
994 jlong progressId;

Callers 8

CreateMethod · 0.85
CloseMethod · 0.85
SetMsgMethod · 0.85
ProgressBarSetMsgMethod · 0.85
ProgressBarResetMethod · 0.85
ProgressBarIncMethod · 0.85
ProgressBarSetValueMethod · 0.85
ProgressBarSetLimitMethod · 0.85

Calls 3

pushMethod · 0.45
loadMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected