Mutex NOT owned

Hi,

I’m getting BSOD, 7e with 0xC0000046 (MUTANT_NOT_OWNED) , while releasing
mutex object in the context of the callback.

Any thoughts on how to synchoronize between threads of the driver and
callbacks running in the callers context.

Chumya


Easiest Money Transfer to India. Send Money To 6000 Indian Towns.
http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home!

You can use events. If you set event type to SynchonizationEvent you can
ensure that only one thread will execute if multiple thread are waiting for
the event. This way you can provide similar functionality to using mutexes.
It is safe to signal event from an arbitrary thread, there is no concept of
ownership.

Alexei.

“Chumya K” wrote in message news:xxxxx@ntfsd…
> Hi,
>
> I’m getting BSOD, 7e with 0xC0000046 (MUTANT_NOT_OWNED) , while releasing
> mutex object in the context of the callback.
>
> Any thoughts on how to synchoronize between threads of the driver and
> callbacks running in the callers context.
>
> Chumya
>
> _________________________________________________________________
> Easiest Money Transfer to India. Send Money To 6000 Indian Towns.
> http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home!
>
>