-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EventSource event for WaitHandle waits #94737
Conversation
Tagging subscribers to this area: @mangod9 Issue DetailsContext: #94264 Implementation details that need validation:
|
It doesn't compile, the |
This reverts commit 49c270a.
- Updated to send the events only for nonzero-timeout alertable waits - Updated to try a zero-timeout wait first for waits other than Monitor.Wait before sending events - Updated WaitHandle.cs to send events for WaitOne and WaitMultiple cases for NativeAOT/Mono - Updated NativeAOT's and Mono's Monitor.Wait to pass in the associated object - Some minor changes to the test, and some other miscellaneous fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Thanks for all the help @kouvel! What should I do about the failed action? |
The console log for the failure is almost empty, not sure what might have happened. Previous failures of the test didn't look similar. It seems to have passed on rerun. |
* Add WaitHandleWaitStart to AnyStacks New event introduced in dotnet/runtime#94737 * Fix compilation * Reorder generated members * Address PR comment
Add start/stop events for WaitHandle waits Context: dotnet#94264
Context: #94264