Hi,
I have a multithreded COM application which deadlock because of a wait on
multiple events,
but i am not able to determine which event is not being set.
Could anybode suggest me the method to determine the state of an event, I
tried using !handle but it doesnt give me much info.
I tried using !object of kdextx86 extension, but it gives me error saying
“Could not get MmHigestUserAddress”
Is it that i cant use kdextx86 to debug user apps.
thanx in advance,
Manish
Why don’t you just loop through the events and do WaitForSingleObject
(handle [i], 0) and check the return code for WAIT_TIMEOUT? Just set your
call to WaitForMultipleObjects with a timeout (e.g., 1 minute or whatever).
And after that times out, just query each object one at a time in a loop
with a zero timeout to see which ones are signalled and which one or ones
are not.
Terry
“Sapariya Manish.j”
> cc:
Sent by: Subject: [ntdev] Determining the state of event object.
xxxxx@lis
ts.osr.com
10/29/00 01:08 AM
Please respond to
“NT Developers
Interest List”
Hi,
I have a multithreded COM application which deadlock because of a wait on
multiple events,
but i am not able to determine which event is not being set.
Could anybode suggest me the method to determine the state of an event, I
tried using !handle but it doesnt give me much info.
I tried using !object of kdextx86 extension, but it gives me error saying
“Could not get MmHigestUserAddress”
Is it that i cant use kdextx86 to debug user apps.
thanx in advance,
Manish
—
You are currently subscribed to ntdev as: xxxxx@cirilium.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
Hi,
thanx i could solve my problem of checking of the event with the same,
but i wanted to know if there is any way to do the same in Windbg, e.g.
seeing the object of event or something like that.
thanx,
Manish
-----Original Message-----
From: xxxxx@cirilium.com [mailto:xxxxx@cirilium.com]
Sent: Sunday, October 29, 2000 10:48 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Determining the state of event object.
Why don’t you just loop through the events and do WaitForSingleObject
(handle [i], 0) and check the return code for WAIT_TIMEOUT? Just set your
call to WaitForMultipleObjects with a timeout (e.g., 1 minute or whatever).
And after that times out, just query each object one at a time in a loop
with a zero timeout to see which ones are signalled and which one or ones
are not.
Terry
“Sapariya Manish.j”
Interest List"
> cc:
Sent by: Subject: [ntdev]
Determining the state of event object.
xxxxx@lis
ts.osr.com
10/29/00 01:08 AM
Please respond to
“NT Developers
Interest List”
Hi,
I have a multithreded COM application which deadlock because of a wait on
multiple events,
but i am not able to determine which event is not being set.
Could anybode suggest me the method to determine the state of an event, I
tried using !handle but it doesnt give me much info.
I tried using !object of kdextx86 extension, but it gives me error saying
“Could not get MmHigestUserAddress”
Is it that i cant use kdextx86 to debug user apps.
thanx in advance,
Manish
—
You are currently subscribed to ntdev as: xxxxx@cirilium.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
—
You are currently subscribed to ntdev as: xxxxx@zensar.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)