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

Method deserialize

kernel/orbis/src/thread/Process.cpp:65–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 void deserialize(rx::Deserializer &s) {
66 while (true) {
67 auto pid = s.deserialize<pid_t>();
68 if (pid == static_cast<pid_t>(-1) || s.failure()) {
69 break;
70 }
71
72 auto process = orbis::createProcess(nullptr, pid);
73 s.deserialize(*process);
74
75 if (s.failure()) {
76 break;
77 }
78 }
79 }
80};
81
82static auto g_processList =

Callers

nothing calls this directly

Calls 2

failureMethod · 0.45
deserializeMethod · 0.45

Tested by

no test coverage detected