You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void spin_lock::lock() { // This function raises IRQL to DISPATCH_LEVEL KeAcquireInStackQueuedSpinLock(&m_Lock, &m_LockHandle); }
The m_LockHandle lock variable needed for KeAcquireInStackQueuedSpinLock must be on the stack. Each thread must have its own instance of the variable. It cannot be a member of a class, that doesn't work.
The text was updated successfully, but these errors were encountered:
void spin_lock::lock() { // This function raises IRQL to DISPATCH_LEVEL KeAcquireInStackQueuedSpinLock(&m_Lock, &m_LockHandle); }
The m_LockHandle lock variable needed for KeAcquireInStackQueuedSpinLock must be on the stack. Each thread must have its own instance of the variable. It cannot be a member of a class, that doesn't work.
The text was updated successfully, but these errors were encountered: