com_timeout(timeoutInMilliseconds) uses SetThreadpoolTimer, which includes or excludes system time in sleep/hibernation based on whether the timeout value is positive or negative. com_timeout should document this behavior in its header comments, or it should introduce explicit support -- perhaps by adding an excludeSleepHibernationTime = false parameter.