Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8197498

(se) kevent polling should ignore signal interrupt (EINTR)

XMLWordPrintable

    • b01
    • x86_64
    • os_x
    • Not verified

      The kevent() call can receive an interrupt before the timeout has expired and any events have been queued. In this case the call will return -1 and errno will be set to EINTR. The description of EINTR is

      "A signal was delivered before the timeout expired and before any events were placed on the kqueue for return."

      https://www.freebsd.org/cgi/man.cgi?kqueue

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: