| 164 | } |
| 165 | |
| 166 | ThreadState thread_get_state(Thread* thread) { |
| 167 | check(xPortInIsrContext() == pdFALSE); |
| 168 | thread->lock(); |
| 169 | ThreadState state = thread->state; |
| 170 | thread->unlock(); |
| 171 | return state; |
| 172 | } |
| 173 | |
| 174 | error_t thread_start(Thread* thread) { |
| 175 | thread->lock(); |
no test coverage detected