| 123 | |
| 124 | |
| 125 | void Runtime::RuntimeProcess::initialize() |
| 126 | { |
| 127 | // The looper thread can only be created here since it need to happen |
| 128 | // after `queue` is initialized. |
| 129 | CHECK(!looper); |
| 130 | looper.reset(new std::thread(&RuntimeProcess::loop, this)); |
| 131 | } |
| 132 | |
| 133 | |
| 134 | void Runtime::RuntimeProcess::finalize() |