Hartmut Birr wrote:
The thread does wait at passive level. It has called ExEnterCriticalRegionAndAcquireFastMutexUnsafe. A other thread tries to terminate the waiting thread. KiInsertQueueApc does unwait the waiting thread, because the exit APC is a special APC.
- Hartmut
Hi,
The exit APC is a normal APC. Here is a very document on MSDN you can read, it answered a lot of my questions about locking, APCs and threads: http://msdn.microsoft.com/library/en-us/dndevice/html/Locks_Sync.asp
Best regards, Alex Ionescu