diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-01-26 23:10:51 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-27 14:13:24 +0100 |
commit | 10aad72110e6a44255fa45281b4705ae98b26496 (patch) | |
tree | 994380fb979997e1740e8cbbcfe1c3fc179d4eb5 /bootstrap | |
parent | 19371a4dc36310378e64b1414d490e64932111e5 (diff) | |
download | guix-10aad72110e6a44255fa45281b4705ae98b26496.tar.gz guix-10aad72110e6a44255fa45281b4705ae98b26496.zip |
inferior: Create the store proxy listening socket only once.
Previously, each 'inferior-eval-with-store' call would have the calling
process create a temporary directory with a listening socket in there.
Now that listening socket is created once and reused in subsequent
calls.
* guix/inferior.scm (<inferior>)[bridge-file-name, bridge-socket]: New
fields.
(port->inferior): Adjust accordingly.
(close-inferior): Close 'inferior-bridge-socket' and delete
'inferior-bridge-file-name' if set.
(open-store-bridge!, ensure-store-bridge!): New procedures.
(inferior-eval-with-store): Use them.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions