| 144 | // ---------------------------------------------------------------------------------------- |
| 145 | |
| 146 | void threader:: |
| 147 | call_end_handlers ( |
| 148 | ) |
| 149 | { |
| 150 | reg.m.lock(); |
| 151 | const thread_id_type id = get_thread_id(); |
| 152 | thread_id_type id_copy; |
| 153 | member_function_pointer<> mfp; |
| 154 | |
| 155 | // Remove all the member function pointers for this thread from the tree |
| 156 | // and call them. |
| 157 | while (reg.reg[id] != 0) |
| 158 | { |
| 159 | reg.reg.remove(id,id_copy,mfp); |
| 160 | reg.m.unlock(); |
| 161 | mfp(); |
| 162 | reg.m.lock(); |
| 163 | } |
| 164 | reg.m.unlock(); |
| 165 | } |
| 166 | |
| 167 | // ------------------------------------------------------------------------------------ |
| 168 |
nothing calls this directly
no test coverage detected