Phillip Susi wrote:
I just glanced at the diffs on that change and it
looks like it is
releasing the global timer lock and then grabbing the lock on the
individual timer. Doesn't that create a race condition where the
timer can be deleted in between releasing the global lock and grabbing
the local? Shouldn't that order be reversed?
It isn't possible to delete the timer within this gap. The timer has an
additional reference which depends on ApcAssociated. ApcAssociated is
only changed if the local lock is held.
- Hartmut