#1520: Use Linux's signalfd() instead of pipe() to deliver signals to the IO
manager
-------------------------------+--------------------------------------------
  Reporter:  simonmar          |          Owner:         
      Type:  task              |         Status:  new    
  Priority:  normal            |      Milestone:  6.10   
 Component:  Runtime System    |        Version:  6.6.1  
  Severity:  normal            |       Keywords:         
Difficulty:  Moderate (1 day)  |             Os:  Linux  
  Testcase:                    |   Architecture:  Unknown
-------------------------------+--------------------------------------------
As pointed out to me by dcoutts, Linux has a new API that enables signals
 and other events to be delivered via a file descriptor, and hence used
 with select()/poll()/epoll().  The new API went into Linux 2.6.22:

 [http://kernelnewbies.org/Linux_2_6_22#head-
 0357b2415f5d3116bf2b03de07224d16912acec2]

 We could use this in GHC's IO manager to avoid the hacky use of pipe() for
 the same purpose.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1520>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to