RTS: Add setInCallCapability()
authorSimon Marlow <marlowsd@gmail.com>
Tue, 18 Nov 2014 15:44:14 +0000 (15:44 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 26 Apr 2016 15:00:43 +0000 (16:00 +0100)
commite68195a96529cf1cc2d9cc6a9bc05183fce5ecea
treed79dbffbcb44cbdd7e10706535a66e4d9669378d
parentc9bcaf3165586ac214fa694e61c55eb45eb131ab
RTS: Add setInCallCapability()

This allows an OS thread to specify which capability it should run on
when it makes a call into Haskell.  It is intended for a fairly
specialised use case, when the client wants to have tighter control over
the mapping between OS threads and Capabilities - perhaps 1:1
correspondence, for example.
includes/RtsAPI.h
rts/Capability.c
rts/Task.c
rts/Task.h