[GHC] #10317: Event manager: Multishot registrations only fire once

GHC ghc-devs at haskell.org
Mon Jun 1 14:58:54 UTC 2015


#10317: Event manager: Multishot registrations only fire once
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D849
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"1c3832597b3e75456fc61628c4cd289d211c733b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1c3832597b3e75456fc61628c4cd289d211c733b"
 Fix dropped event registrations

 D347 introduced a bug wherein the event manager would drop registrations
 that
 should be retained during processing. This occurs when an fd has multiple
 registrations, not all of which fire, as well as the case of multi-shot
 registrations.

 I also do some general house-keeping, try to better document things, and
 fix a
 bug which could result in unnecessary calls to `epoll_ctl`

 Reviewed By: austin

 Differential Revision: https://phabricator.haskell.org/D849

 GHC Trac Issues: #10317
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10317#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list