Yield to another process
(context_ptr: *mut Context)
| 520 | |
| 521 | /// Yield to another process |
| 522 | fn sys_yield(context_ptr: *mut Context) { |
| 523 | let next_stack = process::schedule_next(context_ptr as usize); |
| 524 | interrupts::launch_thread(next_stack); |
| 525 | } |
| 526 | |
| 527 | /// Create a new pair of Rendezvous handles |
| 528 | fn sys_new_rendezvous(context_ptr: *mut Context) { |
no test coverage detected