| 390 | } |
| 391 | |
| 392 | void thread_coop_disable(void) |
| 393 | { |
| 394 | struct thread *current; |
| 395 | |
| 396 | current = current_thread(); |
| 397 | |
| 398 | if (current == NULL) |
| 399 | return; |
| 400 | |
| 401 | current->can_yield--; |
| 402 | } |
| 403 | |
| 404 | enum cb_err thread_join(struct thread_handle *handle) |
| 405 | { |
no test coverage detected