]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/processor.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / kern / processor.h
index eb2246cbd5993dbc2a44b785b421cff4b1714a6c..16927ab1719fb7efe063c1c16ecae8f3bf3c2894 100644 (file)
@@ -291,7 +291,7 @@ struct pset_node {
 extern struct pset_node pset_node0;
 
 extern queue_head_t tasks, threads, corpse_tasks;
-extern int tasks_count, terminated_tasks_count, threads_count;
+extern int tasks_count, terminated_tasks_count, threads_count, terminated_threads_count;
 decl_lck_mtx_data(extern, tasks_threads_lock);
 decl_lck_mtx_data(extern, tasks_corpse_lock);
 
@@ -300,6 +300,8 @@ decl_lck_mtx_data(extern, tasks_corpse_lock);
  */
 extern queue_head_t terminated_tasks;
 
+extern queue_head_t terminated_threads;
+
 struct processor {
        processor_state_t       state;                  /* See above */
        bool                    is_SMT;