[commit: ghc] master: Make the linker API thread-safe (b5e8b3b)

git at git.haskell.org git at git.haskell.org
Fri Nov 28 14:09:50 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b5e8b3b162b3ff15ae6caf1afc659565365f54a8/ghc

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

commit b5e8b3b162b3ff15ae6caf1afc659565365f54a8
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Fri Sep 26 20:08:43 2014 +0100

    Make the linker API thread-safe
    
    We used to be able to rely on the client to use the API in a
    single-threaded way, but now that the GC calls into the linker to
    unload objects this isn't a safe assumption.


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

b5e8b3b162b3ff15ae6caf1afc659565365f54a8
 docs/users_guide/7.10.1-notes.xml |   6 ++-
 rts/CheckUnload.c                 |   4 ++
 rts/Linker.c                      | 105 +++++++++++++++++++++++++-------------
 rts/LinkerInternals.h             |   4 ++
 testsuite/tests/rts/Makefile      |   8 +--
 testsuite/tests/rts/T2615.hs      |   1 +
 testsuite/tests/rts/rdynamic.hs   |   2 +
 7 files changed, 89 insertions(+), 41 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc b5e8b3b162b3ff15ae6caf1afc659565365f54a8


More information about the ghc-commits mailing list