Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve 'waiting for' message by supplying a reason for the message #3577
Resolves #2069 by allowing to pass the reason for which we are waiting to
Implementation details: stores the latest reason for which some
No, not exactly. It prints those messages slightly earlier in the code -- right at the time when the wakeup is scheduled, whereas previously it was printed before the thread goes to sleep. However, it shouldn't be much of a difference (if I understand the execution path correctly).