Re: [PATCH] Cygwin: pty: Additional race issue fix regarding pseudo console.

2021-04-21 Thread Corinna Vinschen
On Apr 21 12:06, Takashi Yano wrote: > - In commit bb93c6d7, the race issue was not completely fixed. In > the pseudo console inheritance, if the destination process to > which the ownership of pseudo console switches, is found but exits > before switching, the inheritance fails. Currently,

[PATCH] Cygwin: pty: Additional race issue fix regarding pseudo console.

2021-04-20 Thread Takashi Yano
- In commit bb93c6d7, the race issue was not completely fixed. In the pseudo console inheritance, if the destination process to which the ownership of pseudo console switches, is found but exits before switching, the inheritance fails. Currently, this extremely rarely happens. This patch