Fix for commit 9900db8 and a segfault in the PTH_EVENT_FUNC callback.
commitcc4f5c6a0e6b36c5b603759f7e095b6c299684ba
authorBen Kibbey <bjk@luxsci.net>
Mon, 3 Mar 2008 01:04:00 +0000 (2 20:04 -0500)
committerBen Kibbey <bjk@luxsci.net>
Mon, 3 Mar 2008 01:04:00 +0000 (2 20:04 -0500)
treeef1930db29b75f9ad5bbd1314dd32c2e0a54a3e6
parent68a9764b821a064f6f8a815245b87305d80a64a9
Fix for commit 9900db8 and a segfault in the PTH_EVENT_FUNC callback.
The callback uses it's own stack space which messes up access to the
client data. So we'll busy loop on pth_mutex_acquire() until the lock
can be obtained and send status messages from there instead.
src/commands.c