| 38 | work_queue& work_queue::operator=(impl* i) { impl_.reset(i); return *this; } |
| 39 | |
| 40 | bool work_queue::add(internal::v03::work f) { |
| 41 | // If we have no actual work queue, then can't defer |
| 42 | if (!impl_) return false; |
| 43 | return impl_->add(f); |
| 44 | } |
| 45 | |
| 46 | bool work_queue::add(internal::v11::work f) { |
| 47 | // If we have no actual work queue, then can't defer |