mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
Revert "kernel: services: remember new thread if specified"
This reverts commit 00e7f07187.
This commit is contained in:
parent
9541523d76
commit
c72d67203a
1 changed files with 1 additions and 3 deletions
|
|
@ -852,15 +852,13 @@ impl SystemServices {
|
|||
}
|
||||
}
|
||||
new.current_thread = new_tid as _;
|
||||
klog!("picked thread ID {}", new_tid);
|
||||
// println!(" -- picked thread {}", new_tid);
|
||||
} else if x & (1 << new_tid) == 0 {
|
||||
// println!(
|
||||
// "thread is {:?}, which is not valid for new thread {}",
|
||||
// new.state, new_tid
|
||||
// );
|
||||
return Err(xous_kernel::Error::ProcessNotFound);
|
||||
} else {
|
||||
new.current_thread = new_tid as _;
|
||||
}
|
||||
}
|
||||
ProcessState::Sleeping => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue