[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41948: Shepherd deadlocks
From: |
Ludovic Courtès |
Subject: |
bug#41948: Shepherd deadlocks |
Date: |
Sat, 08 May 2021 22:52:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> While working on a fix for this issue (finalizer pipe shared between
>> parent and child process), I found the ‘sleep_pipe’ of the main thread
>> is also shared between the parent and its child.
>
> Here’s a patch that fixes the problem as exposed by the reproducer.
I went ahead and pushed as 381291f5ff4480afbb197bf5e5a2272cfe54a386,
together with a test derived from the one I posted earlier.
With this and Andrew’s finalizer pipe patch, we should be good!
This will be in the upcoming Guile 3.0.7 release.
Ludo’.