18 #ifndef LIBCWD_PRIVATE_THREAD_H
19 #define LIBCWD_PRIVATE_THREAD_H
21 #ifndef LIBCWD_PRIVATE_MUTEX_H
24 #ifndef LIBCWD_PRIVATE_ALLOCATOR_H
51 typedef std::list<thread_ct, internal_allocator::rebind<thread_ct>::other> threadlist_type;
53 typedef std::list<thread_ct> threadlist_type;
57 mutex_ct thread_mutex;
60 dm_alloc_ct* base_alloc_list;
61 dm_alloc_ct** current_alloc_list;
62 dm_alloc_ct* current_owner_node;
65 unsigned long memblks;
72 void initialize(LIBCWD_TSD_PARAM);
73 void terminated(threadlist_type::iterator LIBCWD_COMMA_TSD_PARAM);
74 bool is_zombie()
const {
return M_zombie; }
75 void terminating() { M_terminating =
true; }
76 bool is_terminating()
const {
return M_terminating; }
81 typedef thread_ct::threadlist_type threadlist_t;
82 extern threadlist_t* threadlist;
namespace for libcwd.
Definition: debug.cc:87