Message358146
> I'm pretty sure you mean WNOWAIT, right?
Right.
> revalidate pid licenses
What does this mean?
> I think we can patch up this last race condition by adding yet one more lock
Wouldn't it be sufficient to add
if self.returncode is not None:
return self.returncode
at the top of poll()?
(And in fact, you don't even need to add it, since an equivalent of this check is already there.)
I think this makes calling poll() from wait() unnecessary too. |
|
Date |
User |
Action |
Args |
2019-12-09 21:46:45 | SpecLad | set | recipients:
+ SpecLad, vstinner, giampaolo.rodola, njs |
2019-12-09 21:46:45 | SpecLad | set | messageid: <1575928005.31.0.0102439322645.issue38630@roundup.psfhosted.org> |
2019-12-09 21:46:45 | SpecLad | link | issue38630 messages |
2019-12-09 21:46:45 | SpecLad | create | |
|