Skip to content
Snippets Groups Projects
Unverified Commit 70d85c0c authored by Clément Lassieur's avatar Clément Lassieur
Browse files

utils: Prevent critical section clients to talk to each other.


* src/cuirass/utils.scm (make-critical-section): Put the modified message to
the REPLY channel that was part of the initial message.
(call-with-critical-section): Create a REPLY channel, add it to the sent
message, get the modified message from that channel.

Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 6f8dc0b6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment