From 47b2f4c4982fb5f063e9e83c524b2e63abaa58c4 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 17 Sep 2024 09:38:06 -0600 Subject: wip --- 9psrv.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 9psrv.c (limited to '9psrv.c') diff --git a/9psrv.c b/9psrv.c new file mode 100644 index 0000000..e120eff --- /dev/null +++ b/9psrv.c @@ -0,0 +1,13 @@ +#include "coroutine.h" +#include "net9p.h" + +int main() { + coroutine_init(); + + net9p_listen_stack_t stack = {0}; + coroutine_add(net9p_listen_cr, &stack); + + for (;;) { + coroutine_task(); + } +} -- cgit v1.2.3-2-g168b