Prerequisites
The enhancement
The Need
On Windows, Calamari keeps a machine-wide lock for a Semaphore. A Semaphore on windows does not relinquish control to the next waiter when the process is killed, which means the lock is held indefinitely.
Solution
Switch it so Windows uses a Mutex instead. Add extra logging so the hang is easier to diagnose.
Screenshots and Mockups
N/A
Links
Calamari PR
Prerequisites
The enhancement
The Need
On Windows, Calamari keeps a machine-wide lock for a
Semaphore. A Semaphore on windows does not relinquish control to the next waiter when the process is killed, which means the lock is held indefinitely.Solution
Switch it so Windows uses a Mutex instead. Add extra logging so the hang is easier to diagnose.
Screenshots and Mockups
N/A
Links
Calamari PR