[ros-dev] KeRundownThread question

Hartmut Birr hartmut.birr at gmx.de
Sat Mar 26 18:57:17 CET 2005


Alex Ionescu wrote:

> It should actually be a bugcheck with THREAD_TERMINATE_HELD_MUTEX, but
> I only discovered this weird Bugcode much later after coding this. See
> some information here:
>
> http://groups-beta.google.com/group/comp.os.ms-windows.nt.misc/browse_frm/thread/50aed4e7d60e894a/9d03b8eec3fd990b?q=THREAD_TERMINATE_HELD_MUTEX&rnum=1#9d03b8eec3fd990b
>
>
> here:
>
> /
> // MessageId: *THREAD_TERMINATE_HELD_MUTEX*
> //
> // MessageText:
> //
> //  A kernel thread terminated while holding a mutex
> //
>
> Best regards,
> Alex Ionescu
>
Exist there a way to check, if the mutex is only used in user mode? A
user mode thread can create and lock a mutex. An other thread terminates
this thraed and ros does crash.

- Hartmut


More information about the Ros-dev mailing list