summaryrefslogtreecommitdiff
path: root/rts/Capability.h
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-02-07 18:39:33 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-07 20:28:13 +0000
commit0a2bd9ccf423dd635677926c1238aab5d3d4b1cb (patch)
tree5bf2afd35e04866e2f3c7aa5fdea28bd334e59ee /rts/Capability.h
parent0e51109d010c474f60f7b3209e399c115c7bcec7 (diff)
downloadhaskell-0a2bd9ccf423dd635677926c1238aab5d3d4b1cb.tar.gz
rts: mark 'shutdownCapability' as static
Noticed by uselex.rb: last_free_capability: [R]: exported from: ./rts/dist/build/Capability.o shutdownCapability: [R]: exported from: ./rts/dist/build/Capability.o Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts/Capability.h')
-rw-r--r--rts/Capability.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/rts/Capability.h b/rts/Capability.h
index fb9f0aa181..561d369a21 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -224,11 +224,6 @@ INLINE_HEADER void releaseCapability_ (Capability* cap STG_UNUSED,
//
extern Capability **capabilities;
-// The Capability that was last free. Used as a good guess for where
-// to assign new threads.
-//
-extern Capability *last_free_capability;
-
//
// Indicates that the RTS wants to synchronise all the Capabilities
// for some reason. All Capabilities should stop and return to the
@@ -304,11 +299,6 @@ extern void grabCapability (Capability **pCap);
#endif /* !THREADED_RTS */
-// Waits for a capability to drain of runnable threads and workers,
-// and then acquires it. Used at shutdown time.
-//
-void shutdownCapability (Capability *cap, Task *task, rtsBool wait_foreign);
-
// Shut down all capabilities.
//
void shutdownCapabilities(Task *task, rtsBool wait_foreign);