Lines Matching refs:reader_pid
75 SANE_Pid reader_pid;
93 return this->reader_pid != 0;
160 assert(this->reader_pid == 0);
179 this->reader_pid = sanei_thread_begin (this->child_forked ? reader_process :
181 if (this->reader_pid != 0)
193 if (!sanei_thread_is_valid (this->reader_pid))
208 DBG(1, "start_reader: reader process %ld started\n", (long) this->reader_pid);
224 if (this->reader_pid)
227 DBG(3, "hp_handle_stopScan: killing child (%ld)\n", (long) this->reader_pid);
228 sanei_thread_kill (this->reader_pid);
229 sanei_thread_waitpid(this->reader_pid, &info);
235 this->reader_pid = 0;
735 if ( (this->reader_pid)
739 (long) this->reader_pid);
740 sanei_thread_kill(this->reader_pid);