Improve documentation for blocking lambdas

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      The stream documentation discusses stateful lambdas but does not explicitly discuss a lambda that performs blocking operations such as using say j.u.c.Semaphore or Thread.sleep.

      Such documentation needs to warn about using such blocking operations and indicate what to do if they are required to be used, namely by wrapping in a Fork/Join ManagedBlocker.

      (It may also be appropriate to add ManagedBlocker to relevant j.u.c classes, if so a new issue will be created)

            Assignee:
            Paul Sandoz
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: