Make the linker API thread-safe
authorSimon Marlow <marlowsd@gmail.com>
Fri, 26 Sep 2014 19:08:43 +0000 (20:08 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 28 Nov 2014 14:10:32 +0000 (14:10 +0000)
commitb5e8b3b162b3ff15ae6caf1afc659565365f54a8
tree87e99c82b570a80340c624c88b6232747e4b66f4
parent58dcd5c2e2a94643454296ea0bb109db96bd154f
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.
docs/users_guide/7.10.1-notes.xml
rts/CheckUnload.c
rts/Linker.c
rts/LinkerInternals.h
testsuite/tests/rts/Makefile
testsuite/tests/rts/T2615.hs
testsuite/tests/rts/rdynamic.hs