diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-12-06 15:12:07 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-12-06 16:00:27 +0000 |
commit | 92e7d6c92fdd14de424524564376d3522f2a40cc (patch) | |
tree | 5715d44012b452f5020ca14331a1fe50d5fd9600 /rts/sm/Storage.h | |
parent | 8b75acd3ca25165536f18976c8d80cb62ad613e4 (diff) | |
download | haskell-92e7d6c92fdd14de424524564376d3522f2a40cc.tar.gz |
Allow the number of capabilities to be increased at runtime (#3729)
At present the number of capabilities can only be *increased*, not
decreased. The latter presents a few more challenges!
Diffstat (limited to 'rts/sm/Storage.h')
-rw-r--r-- | rts/sm/Storage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/sm/Storage.h b/rts/sm/Storage.h index d463d1a2ba..11afc26598 100644 --- a/rts/sm/Storage.h +++ b/rts/sm/Storage.h @@ -21,6 +21,10 @@ void initStorage(void); void exitStorage(void); void freeStorage(rtsBool free_heap); +// Adding more Capabilities later: this function allocates nurseries +// and initialises other storage-related things. +void storageAddCapabilities (nat from, nat to); + /* ----------------------------------------------------------------------------- Storage manager state -------------------------------------------------------------------------- */ |