Last active
January 11, 2018 14:39
-
-
Save Criteo-dotnet-blog/62017bdbe2f48694a2c31be9a9c85a8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// m_timers is the start of the list of TimerQueueTimer | |
var currentPointer = GetFieldValue(heap, timerQueue.Value, "m_timers"); | |
while ((currentPointer != null) && (((ulong)currentPointer) != 0)) | |
{ | |
// currentPointer points to a TimerQueueTimer instance | |
ulong currentTimerQueueTimerRef = (ulong)currentPointer; | |
TimerInfo ti = new TimerInfo() | |
{ | |
TimerQueueTimerAddress = currentTimerQueueTimerRef | |
}; | |
... | |
currentPointer = GetFieldValue(heap, currentTimerQueueTimerRef, "m_next"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment