Use an event in lock_file_mutex() to test if the client is still
commit9900db8c8b9cd9e0c839420db8ff07642fa305a4
authorBen Kibbey <bjk@luxsci.net>
Sun, 2 Mar 2008 15:44:37 +0000 (2 10:44 -0500)
committerBen Kibbey <bjk@luxsci.net>
Sun, 2 Mar 2008 15:44:37 +0000 (2 10:44 -0500)
tree3c59c73b9e8215b2a7bdef768eda470aeb7ef466
parent7f2af6865870732ea9ae51f8b64685d44656a302
Use an event in lock_file_mutex() to test if the client is still
connected. Fixes terminating the client thread that was waiting for
the lock but disconnected unexpectedly.
src/commands.c
src/pinentry.c
src/pwmd.c