Use flush_all instead of flush for performance
This commit is contained in:
parent
0a2abe0f54
commit
4341a2d725
2 changed files with 46 additions and 6 deletions
|
@ -49,7 +49,7 @@ pub fn clone(flags: usize) -> Result<usize> {
|
|||
|
||||
pub fn exit(status: usize) -> ! {
|
||||
println!("Exit {}", status);
|
||||
|
||||
|
||||
{
|
||||
let contexts = context::contexts();
|
||||
let context_lock = contexts.current().expect("tried to exit without context");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue