Bug 60568 - WaitHandle.WaitOne(int) doesn't trigger SynchronizationContext.Wait
Summary: WaitHandle.WaitOne(int) doesn't trigger SynchronizationContext.Wait
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: master
Hardware: PC All
: --- normal
Target Milestone: Future Release
Assignee: Katelyn Gadd
Depends on:
Reported: 2017-11-08 13:37 UTC by Egorbo
Modified: 2018-01-05 13:29 UTC (History)
4 users (show)

Tags: bugpool-archive
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Egorbo 2017-11-08 13:37:15 UTC
Repro - https://gist.github.com/EgorBo/7671b87b9edd2d0cb248cef2ea2e995e
see comments.
Comment 1 Egorbo 2017-11-08 13:44:25 UTC
Probably because RuntimeHelpers.PrepareDelegate is not implemented on mono?
Comment 2 Ludovic Henry 2017-11-21 21:18:42 UTC
Comment 3 Ludovic Henry 2018-01-05 13:29:39 UTC
Merged to master with https://github.com/mono/mono/commit/252d61d0558b0bfa3461f3339ce617e2e4c285bb