mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 15:28:21 +00:00
ke: add continuations
This commit is contained in:
+2
-2
@@ -126,8 +126,8 @@ pub fn init() void {
|
||||
|
||||
const td = ps.thread.create_kernel(
|
||||
.Default,
|
||||
worker,
|
||||
null,
|
||||
.{ .func = worker, .arg = null },
|
||||
true,
|
||||
) catch @panic("handle me");
|
||||
ke.sched.enqueue(&td.kern);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user