Changes between Version 1 and Version 2 of Commentary/Rts/IOManager


Ignore:
Timestamp:
Feb 20, 2013 2:03:35 AM (17 months ago)
Author:
ezyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/IOManager

    v1 v2  
    11= The I/O Manager = 
    22 
    3 This page describes the internals of the I/O manager, the latest version of which can be found in [http://darcs.haskell.org/libraries/base/GHC/Conc.lhs GHC.Conc], in the "Thread IO API" section. The I/O manager's job is to to provide a blocking I/O API to the user without forcing the RTS to create one operating system thread per Haskell thread. We here focus on the ''threaded'' RTS on non-Windows platforms. 
     3This page describes the internals of the I/O manager, the latest version of which can be found in [http://hackage.haskell.org/packages/archive/base/latest/doc/html/GHC-Event.html GHC.Event]. The I/O manager's job is to to provide a blocking I/O API to the user without forcing the RTS to create one operating system thread per Haskell thread. We here focus on the ''threaded'' RTS on non-Windows platforms. 
     4 
     5ezyang: '''WARNING: some of this information may be out of date''' 
    46 
    57The RTS keeps a global list of pending events, unsuprising called `pendingEvents`, containing a elements of the following data type: