16 #ifndef GLOBAL_THREADS_INCLUDED
17 #define GLOBAL_THREADS_INCLUDED
19 #include <my_global.h>
20 #include <my_pthread.h>
40 typedef std::set<THD*>::iterator Thread_iterator;
41 Thread_iterator global_thread_list_begin();
42 Thread_iterator global_thread_list_end();
43 void add_global_thread(THD *);
44 void remove_global_thread(THD *);
53 uint get_thread_count();
55 #endif // GLOBAL_THREADS_INCLUDED