mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: hosted: create thread id 1
This ensures that PID1 has a thread ID created as well. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
2a6de6ed67
commit
bf3a3879d2
1 changed files with 1 additions and 0 deletions
|
|
@ -443,6 +443,7 @@ pub fn idle() -> bool {
|
|||
};
|
||||
let pid1 = SystemServices::with_mut(|ss| ss.create_process(pid1_init)).unwrap();
|
||||
assert_eq!(pid1.get(), 1);
|
||||
let _tid1 = SystemServices::with_mut(|ss| ss.create_thread(pid1, ThreadInit {})).unwrap();
|
||||
|
||||
let listen_addr = env::var("XOUS_LISTEN_ADDR")
|
||||
.map(|s| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue