MCPcopy Create free account
hub / github.com/baldurk/renderdoc / AsyncInvoke

Method AsyncInvoke

renderdoc/android/android.cpp:1033–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031 }
1032
1033 void AsyncInvoke(std::function<void()> method)
1034 {
1035 Command *cmd = new Command;
1036 cmd->meth = method;
1037 cmd->selfdelete = true;
1038
1039 {
1040 SCOPED_LOCK(lock);
1041 cmdqueue.push_back(cmd);
1042 }
1043 }
1044
1045 rdcstr GetProtocolName() override { return "adb"; }
1046 rdcarray<rdcstr> GetDevices() override

Callers 1

ShutdownConnectionMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected