The API documentation for ThreadReference.suspendCount is wrong in stating
"Resumes the number of pending suspends for this thread. See suspend() for an explanation of counted suspends."
It should be "Returns the number of pending suspends for this thread."
"Resumes the number of pending suspends for this thread. See suspend() for an explanation of counted suspends."
It should be "Returns the number of pending suspends for this thread."