Changes between Version 40 and Version 41 of Concurrency


Ignore:
Timestamp:
Apr 25, 2006 8:59:36 AM (8 years ago)
Author:
simonmar@…
Comment:

expand on unsafePerformIO a little

Legend:

Unmodified
Added
Removed
Modified
  • Concurrency

    v40 v41  
    299299 * {{{mergeIO}}}, {{{nmergeIO}}} 
    300300 
     301Possibly: define the meaning of using concurrent and/or reentrant foreign calls with {{{unsafePerformIO}}} (see below)? 
     302 
    301303== Optional Feature 2 - OS threads == 
    302304 
     
    319321== unsafePerformIO == 
    320322 
    321 Using concurrent operations inside of an unsafePerformIO or unsafeInterleaveIO 
    322 may have unforseen consequences, check an implementations documentation for 
    323 details before depending on any particular behavior. 
    324  
     323The following operations inside {{{unsafePerformIO}}} are undefined: 
     324 
     325 * concurrent or reentrant foreign calls 
     326 * I/O operations 
     327 
     328Additionally, foreign imports that are both declared to return a non-IO type and declared concurrent and/or reentrant are undefined. 
     329 
     330Check an implementation's documentation for details before depending on any particular behavior. 
    325331 
    326332= Status of Compilers =