diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-03-28 23:43:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-02 15:36:33 +0200 |
commit | 7d7067fe15a6dc82068cbafb11846a2de2896a83 (patch) | |
tree | 6fce9eda2696b40c3841508cda48342cc06890a9 /am | |
parent | 21ad54b694c676ba608166be137b677bbb747eac (diff) | |
download | guile-7d7067fe15a6dc82068cbafb11846a2de2896a83.tar.gz |
Remove racy optimized file descriptor closing loop in 'spawn'.
This reverts 9332b632407894c2e1951cce1bc678f19e1fa8e4, thereby
reinstating the performance issue in <https://bugs.gnu.org/59321>.
This optimization was subject to race conditions in multi-threaded code:
new file descriptors could pop up at any time and thus leak in the
child.
* libguile/posix.c (close_inherited_fds): Remove.
(close_inherited_fds_slow): Rename to...
(close_inherited_fds): ... this.
Diffstat (limited to 'am')
0 files changed, 0 insertions, 0 deletions