file_path_watcher_linux.cc | 75 const int inotify_fd_; member in class:base::files::__anon3615::InotifyReader 155 inotify_fd_(inotify_fd), 163 FD_SET(inotify_fd_, &rfds); 168 HANDLE_EINTR(select(std::max(inotify_fd_, shutdown_fd_) + 1, 180 int ioctl_result = HANDLE_EINTR(ioctl(inotify_fd_, FIONREAD, 190 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd_, &buffer[0], 211 int inotify_fd_; member in class:base::files::__anon3615::InotifyReaderTask 222 inotify_fd_(inotify_init()), 226 if (inotify_fd_ >= 0 && pipe(shutdown_pipe_) == 0 && thread_.Start()) { 228 FROM_HERE, new InotifyReaderTask(this, inotify_fd_, shutdown_pipe_[0])) [all...] |