Changes between Version 32 and Version 33 of Concurrency


Ignore:
Timestamp:
Apr 13, 2006 2:28:40 PM (9 years ago)
Author:
ross@…
Comment:

restore some deleted text

Legend:

Unmodified
Added
Removed
Modified
  • Concurrency

    v32 v33  
    1212   * {{{Control.Concurrent.Chan}}}, {{{Control.Concurrent.QSem}}},
    1313     {{{Control.Concurrent.QSemN}}}, {{{Control.Concurrent.SampleVar}}}
     14
     15 * We need a thread-safe interface to mutable state, for use in library code that does not otherwise use concurrency.
     16   We have two choices:
     17    * Use {{{MVar}}}s.  A non-concurrent implementation might implement them in terms of {{{IORef}}}, for example.
     18    * Use STM.  Easier to use, but not entirely trivial to implement, even in a single-threaded implementation, because exceptions have to abort a transaction ([http://www.haskell.org//pipermail/haskell-prime/2006-March/001108.html sample implementation]).
    1419
    1520 * Concurrent foreign calls are required.