Searched refs:dispatch_source (Results 1 – 1 of 1) sorted by relevance
17 apple::ScopedDispatchObject<dispatch_source_t> dispatch_source; member32 DCHECK(!storage_->dispatch_source || in StartWatching()33 dispatch_source_testcancel(storage_->dispatch_source.get())); in StartWatching()47 storage_->dispatch_source.reset(dispatch_source_create( in StartWatching()57 dispatch_source_t source = storage_->dispatch_source.get(); in StartWatching()60 dispatch_source_set_event_handler(storage_->dispatch_source.get(), ^{ in StartWatching()75 dispatch_resume(storage_->dispatch_source.get()); in StartWatching()83 if (storage_->dispatch_source) { in StopWatching()84 dispatch_source_cancel(storage_->dispatch_source.get()); in StopWatching()85 storage_->dispatch_source.reset(); in StopWatching()[all …]