Check for EDEADLK in MUTEX_UNLOCK. It can be ignored since EDEADLK in
commitdf2bce44795e44f9bda3036091597649cdc56649
authorBen Kibbey <bjk@luxsci.net>
Sun, 8 Mar 2009 16:56:44 +0000 (8 12:56 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 8 Mar 2009 16:56:44 +0000 (8 12:56 -0400)
treea7399ef3d2f5b28e99902610c3aeca6bd8076047
parenta600049c8b087a5f490aecda91bec1a676e7c0a3
Check for EDEADLK in MUTEX_UNLOCK. It can be ignored since EDEADLK in
this case only means that the mutex isn't locked.

In cleanup_cb(), log the exit before freeing the client_thread_s.
src/commands.c
src/lock.h
src/pwmd.c