diff options
author | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 23:44:20 +0000 |
---|---|---|
committer | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 23:44:20 +0000 |
commit | 200c73fdfea734765c48309cc8dcbcf44b69c8c5 (patch) | |
tree | 3c2368de05e5050dede56981076c7a9bbfcea457 /rts/Schedule.h | |
parent | 233a468745d108ea845e0898e4177df2c3734fc0 (diff) | |
download | haskell-200c73fdfea734765c48309cc8dcbcf44b69c8c5.tar.gz |
Don't traverse the entire list of threads on every GC (phase 1)
Instead of keeping a single list of all threads, keep one per step
and only look at the threads belonging to steps that we are
collecting.
Diffstat (limited to 'rts/Schedule.h')
-rw-r--r-- | rts/Schedule.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rts/Schedule.h b/rts/Schedule.h index 32b7e59a5e..89ac1125fa 100644 --- a/rts/Schedule.h +++ b/rts/Schedule.h @@ -133,11 +133,6 @@ extern StgTSO *RTS_VAR(sleeping_queue); #endif #endif -/* Linked list of all threads. - * Locks required : sched_mutex - */ -extern StgTSO *RTS_VAR(all_threads); - /* Set to rtsTrue if there are threads on the blackhole_queue, and * it is possible that one or more of them may be available to run. * This flag is set to rtsFalse after we've checked the queue, and |