| 2183 | friend class AsyncBareProgressWorker; |
| 2184 | public: |
| 2185 | void Signal() const { |
| 2186 | uv_mutex_lock(&that_->async_lock); |
| 2187 | uv_async_send(&that_->async); |
| 2188 | uv_mutex_unlock(&that_->async_lock); |
| 2189 | } |
| 2190 | |
| 2191 | void Send(const T* data, size_t count) const { |
| 2192 | that_->SendProgress_(data, count); |