! \internal */
| 208 | \internal |
| 209 | */ |
| 210 | void 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected