Closed kubo39 closed 2 years ago
if a different thread opens a file at the wrong time and gets our file descriptor, we might end up closing the wrong file.
ref: https://www.austingroupbugs.net/view.php?id=529
Ah, there is one more case in pipes.d. I'll fix it too.
if a different thread opens a file at the wrong time and gets our file descriptor, we might end up closing the wrong file.
ref: https://www.austingroupbugs.net/view.php?id=529