diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-12-13 22:18:49 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-12-13 22:26:53 +0000 |
commit | 265af43ffd4411f4fced30ac866ef6bb49efec6c (patch) | |
tree | 5408e9f7c1ca19b2e4f0995689017c46cf9b8516 /includes/rts/Threads.h | |
parent | 2b977d98a0f15416721633f14f9f551ce9ad30f0 (diff) | |
download | haskell-265af43ffd4411f4fced30ac866ef6bb49efec6c.tar.gz |
Make enabled_capabilities visible (fixes dynamic linking)
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r-- | includes/rts/Threads.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index 60d9bc45a1..2ebc542d05 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -57,6 +57,9 @@ HsBool rtsSupportsBoundThreads (void); // The number of Capabilities extern unsigned int n_capabilities; +// The number of Capabilities that are not disabled +extern nat enabled_capabilities; + #if !IN_STG_CODE extern Capability MainCapability; #endif |