| 84 | } |
| 85 | |
| 86 | bool cmUVPipeBuffer::init(uv_loop_t* uv_loop) |
| 87 | { |
| 88 | this->reset(); |
| 89 | if (!uv_loop) { |
| 90 | return false; |
| 91 | } |
| 92 | int ret = this->UVPipe_.init(*uv_loop, 0, this); |
| 93 | return (ret == 0); |
| 94 | } |
| 95 | |
| 96 | bool cmUVPipeBuffer::startRead(DataFunction dataFunction, |
| 97 | EndFunction endFunction) |