[haiku-bugs] Re: [Haiku] #7859: poll() on fd of an exited process returns wrong revents

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 30 Jan 2020 14:50:47 -0000

#7859: poll() on fd of an exited process returns wrong revents
----------------------------+----------------------------
   Reporter:  scgtrp        |      Owner:  phoudoin
       Type:  bug           |     Status:  reopened
   Priority:  high          |  Milestone:  Unscheduled
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------
Comment (by phoudoin):

 Well, sure, the bracket is clearly missing, but it only skip the check on
 fReadSelectPool before calling notify_select_event_pool().
 I can't explain hanging on fifo.

 Anyway, as @waddlesplash was working on a refactoring of select()
 implementation (https://review.haiku-os.org/c/haiku/+/1742), which will
 allow to raise multiple events at once, maybe it will be easier to try to
 fix this issue after it's merged.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/7859#comment:26>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: