diff options
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(); + } +} |