| 143 | |
| 144 | |
| 145 | bool Thread::Initial() |
| 146 | { |
| 147 | if (!InitStack()) |
| 148 | { |
| 149 | MTLOG_ERROR("init stack failed"); |
| 150 | return false; |
| 151 | } |
| 152 | |
| 153 | InitContext(); |
| 154 | |
| 155 | return true; |
| 156 | } |
| 157 | |
| 158 | void Thread::Destroy() |
| 159 | { |
no outgoing calls
no test coverage detected