On Sat, 12 Sep 2009 00:18:59 -0400 (EDT)
Marshall Lake ml...@mlake.net wrote:
[snip]
I can't find a non-commercial deadlock checker for Linux. I agree
that the multi-threaded facet of the code is causing my problem but
so far I'm having trouble using breakpoints/debug code to isolate the
The mutex locks/unlocks are only in a secondary thread and an idle
function. I assume there's no problems with idle functions using
mutexes?
There is no problem provided that any mutex acquired by the idle
function does not block (it immediately acquires), or if it does block
then it only
On Sat, 12 Sep 2009 12:00:11 -0400 (EDT)
Marshall Lake ml...@mlake.net wrote:
[...]
Me:
The important point in looking at out-of-order locking (or other
locking issues) is that the idle handler runs in the thread in
which the main program loop runs, not the thread which called