diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-17 09:38:06 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-17 12:38:18 -0600 |
commit | 47b2f4c4982fb5f063e9e83c524b2e63abaa58c4 (patch) | |
tree | f3f1727a36b79927e105415d650c53532489ba07 /9psrv.c | |
parent | a3c2e3bb9092f1d17671c22fd7bf5c0de9b61c3a (diff) |
wip
Diffstat (limited to '9psrv.c')
-rw-r--r-- | 9psrv.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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(); + } +} |