runtime: System.Linq.Parallel OrderedPipeliningMergeEnumerator.MoveNext is using API unsupported on browser

System.Linq.Parallel OrderedPipeliningMergeEnumerator.MoveNext is using API unsupported on browser (Monitor.Wait()😉. It needs to be fixed so it works without Monitor.Wait() on browser

OrderedPipeliningMergeEnumerator.TryWaitForElement It is calling Monitor.Wait() which is unsupported on browser. Which is further called from OrderedPipeliningMergeEnumerator.MoveNext which is overriding IEnumerator.MoveNext(...)

_Originally posted by @buyaa-n in https://github.com/dotnet/runtime/pull/43363#r510501000_

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

These are all the guts of PLINQ. Really it’s just that PLINQ isn’t supported on browser, all up. Either the whole assembly should be annotated as unsupported, or if there’s a goal of having it be supported, browser should have its own effectively nop implementation that just delegates everything to Enumerable.