MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / init

Method init

src/NetThreadManager.cpp:31–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void NetThreadManager::init(MainProgram* m) {
32 if(started)
33 return;
34 started = true;
35 main = m;
36#ifdef __ANDROID__
37 AndroidJNICalls::startNetworkService();
38#else
39 NetLibrary::init_websocket();
40#endif
41}
42
43void NetThreadManager::synchronous_update() {
44#ifndef __ANDROID__

Callers 2

init_net_libraryMethod · 0.45
CreateVkBackendContextFunction · 0.45

Calls 1

startNetworkServiceFunction · 0.85

Tested by 1

CreateVkBackendContextFunction · 0.36