Checking if a thread in another process is sleeping
As far as I know, there is no such API. The fact that you think you need such an API suggests that you have bigger problems. If you need to coordinate action between multiple processes, you're better off using global events.
精彩评论