blob: 4f4973cf1b8df5e098078530983c05f83e1bf821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//! Shinigami - The Soul Reaper
//! Background service that reaps zombie katas
const kata = @import("kata");
export fn main(pc: u32, pv: [*]const [*:0]const u8) u8 {
_ = pc;
_ = pv;
// Shinigami runs forever, reaping zombie souls
while (true) {
_ = kata.reap();
kata.yield();
}
return 0;
}
|