List a loop's question in loop-inbox only while the loop holds the session's lock #396
Reference in New Issue
Block a user
Delete Branch "item-252"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
loop-inbox told a running loop by its pid, and this machine hands out its 32,768 pids again within the hour, so a killed loop's question came back in the list. Now a loop holds a flock on
<session>.lockwhile its question is listed. loop-inbox lists a question only while that lock is held, and removes one whose lock is free. Holds 0.4.0.After merging, restart loop-inbox. An old loop-inbox hides the questions of loops started on the new code. A loop that was already waiting when you merged holds no lock, so the new loop-inbox drops its question: answer that one on the loop's terminal.