[commit: ghc] ghc-lwc2: Fixed tryWakeupThread to handle an upcall thread being woken up. Added checks to handle the case when an upcall thread was killed during shutdown; this is not an error. Added Mandelbrot benchmarks from language shootout; Modified the number of worker threads to 48. (3348d8b)

Sivaramakrishnan Krishnamoorthy Chandrasekaran t-sichan at microsoft.com
Thu Feb 28 21:54:43 CET 2013


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

On branch  : ghc-lwc2

http://hackage.haskell.org/trac/ghc/changeset/3348d8b728c1adafefaa4ea4adadf7db73f63b04

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

commit 3348d8b728c1adafefaa4ea4adadf7db73f63b04
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date:   Thu Feb 28 15:54:29 2013 -0500

    Fixed tryWakeupThread to handle an upcall thread being woken up. Added checks to handle the case when an upcall thread was killed during shutdown; this is not an error. Added Mandelbrot benchmarks from language shootout; Modified the number of worker threads to 48.

 rts/Schedule.c                                    |  7 +-
 rts/Threads.c                                     |  8 +-
 tests/Benchmarks/Mandelbrot/mandelbrot-lwc.hs     | 98 +++++++++++++++++++++++
 tests/Benchmarks/Mandelbrot/mandelbrot-vanilla.hs | 85 ++++++++++++++++++++
 4 files changed, 194 insertions(+), 4 deletions(-)


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

    git show 3348d8b728c1adafefaa4ea4adadf7db73f63b04



More information about the ghc-commits mailing list