Changes between Version 53 and Version 54 of LightweightConcurrency


Ignore:
Timestamp:
May 19, 2012 2:50:15 AM (2 years ago)
Author:
kc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LightweightConcurrency

    v53 v54  
    263263isCurrentSContBound    :: IO Bool 
    264264rtsSupportsBoundSConts :: Bool 
    265 }} 
     265}}} 
    266266 
    267267Creating a bound SCont creates a new task, which is the only task capable of running the bound SCont. When switching to a bound SCont, the RTS transparently switches to the corresponding bound task. Similarly, when switching away from a bound SCont, the RTS suspends the current bound task, and switches to another appropriate task. However, an unbounded SCont (created through `newSCont` primitive) might be run on any unbounded task (referred to as worker tasks). New worker tasks might be created by the RTS on demand. 
     268 
    268269 
    269270== Related Work ==