[commit: ghc] ghc-lwc2: Refactoring yieldControlAction such that the SCont being switched away from is available. This is useful for thread accountability, and in general, something essential for debugging and optimizing user-level schedulers. (590bb6a)

Sivaramakrishnan Krishnamoorthy Chandrasekaran t-sichan at microsoft.com
Fri May 10 20:39:16 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : ghc-lwc2

https://github.com/ghc/ghc/commit/590bb6a17dfda4456b8bc4fd46532de6c0192da0

>---------------------------------------------------------------

commit 590bb6a17dfda4456b8bc4fd46532de6c0192da0
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date:   Wed May 8 15:51:05 2013 -0400

    Refactoring yieldControlAction such that the SCont being switched away
    from is available. This is useful for thread accountability, and in
    general, something essential for debugging and optimizing user-level
    schedulers.

 libraries/base/LwConc/Substrate.hs                | 29 ++++----
 libraries/lwconc/LwConc/MVar.hs                   |  8 +--
 libraries/lwconc/LwConc/MVarList.hs               | 10 +--
 libraries/lwconc/LwConc/RunQueue.hs               | 38 +++++------
 libraries/lwconc/LwConc/RunQueueSequence.hs       | 38 +++++------
 libraries/lwconc/LwConc/RunQueueStealing.hs       | 33 +++++----
 tests/Benchmarks/ChameneosRedux/ConcurrentList.hs | 82 ++++++++++++-----------
 tests/Benchmarks/ChameneosRedux/MVarList.hs       |  4 +-
 tests/Benchmarks/ChameneosRedux/Makefile          |  2 +-
 tests/Benchmarks/Sieve/ConcurrentList.hs          | 38 ++++++-----
 tests/Benchmarks/Sieve/MVarList.hs                | 16 ++---
 11 files changed, 152 insertions(+), 146 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 590bb6a17dfda4456b8bc4fd46532de6c0192da0



More information about the ghc-commits mailing list