bug#61058: [PATCH v2] Fix asymetric mutex locking when joining thread.

2024-01-25 Thread Olivier Dion
If `join-thread' timeout, the thread mutex is not unlocked, resulting in deadlock to the next call to it or deadlock of the thread itself when it terminates. Thus, always unlock the mutex. Fix: #55356 * module/ice-9/threads.scm (join-thread): Always unlock thread mutex. * test-suite/tests/thread

bug#61058: [PATCH v2] Fix asymetric mutex locking when joining thread.

2024-01-25 Thread Ludovic Courtès
Hello, Olivier Dion skribis: > If `join-thread' timeout, the thread mutex is not unlocked, resulting in > deadlock to the next call to it or deadlock of the thread itself when it > terminates. > > Thus, always unlock the mutex. > > Fix: #55356 > > * module/ice-9/threads.scm (join-thread): Always