How? When I’m using KeWaitForSingle object supplying pointer returned to me
from ObReferenceObjectByHandle called for thread handle that I got from
PsCreateSystemThread, KeWait exits immediately with an error. Is there ant
way I can wait for a thread termination?
TIA,
Vladimir
Waiting on a thread to be terminated.What is the error?
–
Bill McKenzie
“Chtchetkine, Vladimir” wrote in message news:xxxxx@ntdev…
How? When I’m using KeWaitForSingle object supplying pointer returned to me from ObReferenceObjectByHandle called for thread handle that I got from PsCreateSystemThread, KeWait exits immediately with an error. Is there ant way I can wait for a thread termination?
TIA,
Vladimir
Waiting on a thread to be terminated.I have a similar problem.
In the system thread created with PsCreatedSystemThread,
I use PsTerminateSystemThread(STATUS_SUCCESS) to terminate the thread,but It never returns.
----- Original Message -----
From: Chtchetkine, Vladimir
To: NT Developers Interest List
Sent: Thursday, May 23, 2002 11:05 PM
Subject: [ntdev] Waiting on a thread to be terminated.
How? When I’m using KeWaitForSingle object supplying pointer returned to me from ObReferenceObjectByHandle called for thread handle that I got from PsCreateSystemThread, KeWait exits immediately with an error. Is there ant way I can wait for a thread termination?
TIA,
Vladimir
You are currently subscribed to ntdev as: xxxxx@cnuninet.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
You should just return from the thread to kill it.
Jamey Kirby
StorageCraft, inc.
xxxxx@storagecraft.com
www.storagecraft.com
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Paul
Sent: Friday, May 24, 2002 6:35 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Waiting on a thread to be terminated.
I have a similar problem.
In the system thread created with PsCreatedSystemThread,
I use PsTerminateSystemThread(STATUS_SUCCESS) to terminate the thread,but It never returns.
----- Original Message -----
From: Chtchetkine, Vladimir mailto:xxxxx
To: NT Developers mailto:xxxxx Interest List
Sent: Thursday, May 23, 2002 11:05 PM
Subject: [ntdev] Waiting on a thread to be terminated.
How? When I’m using KeWaitForSingle object supplying pointer returned to me from ObReferenceObjectByHandle called for thread handle that I got from PsCreateSystemThread, KeWait exits immediately with an error. Is there ant way I can wait for a thread termination?
TIA,
Vladimir
—
You are currently subscribed to ntdev as: xxxxx@cnuninet.com
To unsubscribe send a blank email to %%email.unsub%%
b‹šç.®·§¶\¬¹»®&ÞvÚ’µ×¯jÈ䊶ò²Ú+jœ§ír‰“¢éì¹»®&Þ±éÝi¹ZžG¦j)m¢Wš½éíuëùëbåŠËl¢ÊÜ</mailto:xxxxx></mailto:xxxxx>