MCPcopy Create free account
hub / github.com/QNapi/qnapi / init

Method init

gui/src/qcumber/qinterprocesschannel_win32.cpp:210–220  ·  view source on GitHub ↗

! \internal */

Source from the content-addressed store, hash-verified

208 \internal
209*/
210void QInterProcessChannel::init() {
211 // while(isRunning())
212 // quit();
213
214 // create global mutex to check single instance
215 CreateMutexA(NULL, FALSE, qPrintable(globalMutexStr));
216 serverMode = !(GetLastError() == ERROR_ALREADY_EXISTS);
217
218 // start listening thread in single instance mode
219 if (serverMode) start();
220}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected