From: David W. <we...@cw...> - 2002-07-10 21:50:47
|
On Wed, Jul 10, 2002 at 11:35:15PM +0200, Eric Kohl wrote: > I did this to make the newly created thread wait for the suspend semaphore. > Using NtWaitForSingleObject() won't work because it always initializes a > wait block in the current thread. Of course I could wrap the explicit wait > block initialiation into a separate function, like > KeThreadWaitForSingleObject(). > Yes, I think that NtCreateThread should queue an APC to the new thread to do the wait. |