diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-19 11:14:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-22 12:42:51 +0100 |
commit | 9a067fe7ee3978a2f4f0ca0e89965f0fe49f4ce8 (patch) | |
tree | b72bc37a7957d0f980ab9910569417657e4cba39 /m4 | |
parent | 1550db6fd47f84672b5bf554be922b96da2be3d8 (diff) | |
download | patches-9a067fe7ee3978a2f4f0ca0e89965f0fe49f4ce8.tar patches-9a067fe7ee3978a2f4f0ca0e89965f0fe49f4ce8.tar.gz |
syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent.
* guix/build/syscalls.scm (call-with-file-lock)
(call-with-file-lock/no-wait): Initialize PORT in the 'dynamic-wind'
"in" handler. This allows us to re-enter a captured continuation and
have the lock grabbed anew.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions