Fix psub deadlocks by once again considering a job as completed whenever the last process in the pipeline is dead

darcs-hash:20060707153539-ac50b-76842c851c3a4247c086e3242f70361b9d2d396b.gz
This commit is contained in:
axel
2006-07-08 01:35:39 +10:00
parent 7bb070d817
commit 9830bf985a
2 changed files with 8 additions and 10 deletions

2
proc.h
View File

@@ -276,7 +276,7 @@ job_t *job_get_from_pid(int pid);
int job_is_stopped( const job_t *j );
/**
Tests if the job has completed
Tests if the job has completed, i.e. if the last process of the pipeline has ended.
*/
int job_is_completed( const job_t *j );